/* Genel Stiller ve Renk Paleti */
body {
    font-family: 'Nunito', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f9f9f9;
    color: #333;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Renkler */
:root {
    --color-black: #1a1a1a;
    --color-green: #6ab04c;
    --color-light-bg: #f9f9f9;
    --color-white: #ffffff;
    --color-grey-light: #bbbbbb;
    --color-grey-dark: #555;
    --color-grey-border: #ccc;
    --color-red-error-bg: #f8d7da;
    --color-red-error-text: #721c24;
    --color-red-error-border: #f5c6cb;
    --color-green-success-bg: #d4edda;
    --color-green-success-text: #155724;
    --color-green-success-border: #c3e6cb;
    --color-green-hover: #5a9a3f;
    --color-green-success: #27ae60;
}

/* Duyuru Barı */
.announcement-bar {
    background-color: var(--color-green);
    color: var(--color-white);
    text-align: center;
    padding: 10px 0;
    font-size: 15px;
    font-weight: 700;
}
.announcement-bar p { margin: 0; padding: 0; }

/* ================= HEADER BÖLÜMÜ BAŞLANGIÇ ================= */

/* Header Ana Konteyneri */
header {
    background-color: var(--color-black);
    padding: 10px 0; /* Dikey padding azaltıldı */
    border-bottom: 4px solid var(--color-green);
    position: sticky;
    top: 0;
    z-index: 1000;
}
header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px; /* Elemanlar arasına boşluk ekledik */
}

/* --- GÜNCELLENMİŞ LOGO ALANI (HALKA/DAİRE YOK) --- */

header .logo a { 
  display: flex; 
  align-items: center; 
  text-decoration: none; 
  flex-shrink: 0; 
  gap: 15px;
}

header .logo img { 
  height: 85px;
  width: auto;
  display: block;

  /* PNG zaten yuvarlaksa bile sorun olmaz */
  border-radius: 50%;

  /* ÖNEMLİ: Daire yapan gölgeyi kaldır */
  box-shadow: none;

  /* Şeffaf alanı baz alarak gölge verir (daire oluşturmaz) */
  filter: drop-shadow(0 3px 10px rgba(0,0,0,0.35));

  /* Hover animasyonu yumuşak olsun */
  transition: transform 0.2s ease, filter 0.2s ease;
}

/* Mouse ile logonun üstüne gelince hafif büyüsün */
header .logo a:hover img {
  transform: scale(1.05);
  filter: drop-shadow(0 5px 14px rgba(0,0,0,0.45));
}

.logo-text { 
  display: flex; 
  flex-direction: column; 
  justify-content: center;
}

.logo-main-text { 
  color: var(--color-white);
  font-size: 28px;
  font-weight: 800; 
  letter-spacing: 1px; 
  line-height: 1.1;
  white-space: nowrap;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.logo-sub-text { 
  color: #f0c14b;
  font-size: 13px; 
  font-weight: 700; 
  letter-spacing: 3px;
  margin-top: 4px;
  text-transform: uppercase;
  white-space: nowrap;
}


/* Orta Navigasyon (Menü + Arama) - Esnekliği Artırıldı */
.center-nav {
    display: flex;
    align-items: center;
    flex-grow: 1; /* Ortadaki alanın mümkün olduğunca genişlemesini sağla */
    min-width: 0; /* İçeriğin taşmasını engellemek için önemli */
    justify-content: center; /* Ortalamak için */
}
header .main-menu { margin-right: 30px; white-space: nowrap; /* Menü linklerinin alt satıra düşmesini engelle */}
header .main-menu a { color: var(--color-white); text-decoration: none; margin: 0 10px; font-weight: 700; font-size: 16px; transition: color 0.3s; }
header .main-menu a:hover { color: var(--color-green); }

/* Arama Çubuğu - Maksimum genişlik ayarlandı */
.search-bar { display: flex; width: 100%; max-width: 350px; /* Maksimum genişlik sınırı */}
.search-bar input { width: 100%; padding: 8px 12px; border: 1px solid var(--color-grey-dark); border-radius: 5px 0 0 5px; background-color: #333; color: var(--color-white); font-size: 14px; outline: none; }
.search-bar button { padding: 8px 15px; border: none; background-color: var(--color-green); color: var(--color-white); cursor: pointer; border-radius: 0 5px 5px 0; font-weight: 700; transition: background-color 0.3s; flex-shrink: 0; /* Butonun küçülmesini engelle */ }
.search-bar button:hover { background-color: var(--color-green-hover); }

/* Kullanıcı İşlemleri (Sağ Taraf - Yatay Hizalama) */
.user-actions {
    display: flex;
    align-items: center;
    flex-shrink: 0; /* Bu alanın küçülmesini engelle */
    white-space: nowrap; /* İçeriğin alt satıra düşmesini engelle */
}
.user-actions .auth-link { color: #ddd; text-decoration: none; font-size: 14px; transition: color 0.3s; }
.user-actions .auth-link:hover { color: var(--color-green); }
.user-actions .auth-separator { color: var(--color-grey-dark); margin: 0 8px; font-size: 14px; }
.welcome-message { color: var(--color-white); font-size: 14px; font-weight: 600; margin-right: 15px; overflow: hidden; text-overflow: ellipsis; max-width: 150px; /* Çok uzun isimler için kısaltma */}
.user-actions .cart-icon { font-size: 24px; position: relative; text-decoration: none; color: var(--color-white); margin-left: 15px; }
.user-actions .cart-count { position: absolute; top: -5px; right: -10px; background-color: var(--color-green); color: var(--color-white); border-radius: 50%; width: 20px; height: 20px; display: flex; justify-content: center; align-items: center; font-size: 12px; font-weight: bold; }

/* ================== HEADER BÖLÜMÜ SONU ================== */

/* Arama Çubuğu */
.search-bar { display: flex; width: 300px; }
.search-bar input { width: 100%; padding: 8px 12px; border: 1px solid var(--color-grey-dark); border-radius: 5px 0 0 5px; background-color: #333; color: var(--color-white); font-size: 14px; outline: none; }
.search-bar button { padding: 8px 15px; border: none; background-color: var(--color-green); color: var(--color-white); cursor: pointer; border-radius: 0 5px 5px 0; font-weight: 700; transition: background-color 0.3s; }
.search-bar button:hover { background-color: var(--color-green-hover); }

/* Kullanıcı İşlemleri (Sağ Taraf - Yatay) */
.user-actions { display: flex; align-items: center; }
.user-actions .auth-link { color: #ddd; text-decoration: none; font-size: 14px; transition: color 0.3s; }
.user-actions .auth-link:hover { color: var(--color-green); }
.user-actions .auth-separator { color: var(--color-grey-dark); margin: 0 10px; font-size: 14px; }
.welcome-message { color: var(--color-white); font-size: 14px; font-weight: 600; margin-right: 15px;}
.user-actions .cart-icon { font-size: 24px; position: relative; text-decoration: none; color: var(--color-white); margin-left: 20px; }
.user-actions .cart-count { position: absolute; top: -5px; right: -10px; background-color: var(--color-green); color: var(--color-white); border-radius: 50%; width: 20px; height: 20px; display: flex; justify-content: center; align-items: center; font-size: 12px; font-weight: bold; }

/* Kategori Menüsü */
.category-menu { background-color: var(--color-green); padding: 15px 0; text-align: center; }
.category-menu a { color: var(--color-white); text-decoration: none; font-size: 14px; font-weight: 700; margin: 0 10px; transition: background-color 0.3s; padding: 5px 10px; border-radius: 5px; }
.category-menu a:hover { background-color: rgba(255, 255, 255, 0.2); }

/* Ana Görsel (Hero) */
.hero { background-size: cover; background-position: center; color: var(--color-white); padding: 100px 0; text-align: center; }
.hero-content h1 { font-size: 48px; margin-bottom: 10px; }
.hero-content p { font-size: 20px; margin-bottom: 30px; }

/* Butonlar */
.btn-primary { background-color: var(--color-green); color: var(--color-white); padding: 15px 30px; text-decoration: none; font-weight: 700; border-radius: 5px; transition: background-color 0.3s; }
.btn-primary:hover { background-color: var(--color-green-hover); }
/* ===> Ürün Kartı İçindeki Sepete Ekle Butonu (Daha Spesifik) <=== */
.product-card .btn-secondary {
    display: inline-block;
    background-color: #1a1a1a;    /* Koyu Arka Plan */
    color: #6ab04c !important; /* YAZI RENGİ: YEŞİL (!important EKLENDİ - Test için) */
    padding: 10px 20px;
    text-decoration: none;
    font-weight: 700;
    border-radius: 5px;
    transition: background-color 0.3s, color 0.3s, border-color 0.3s;
    border: 2px solid #1a1a1a;
    cursor: pointer;
    text-align: center;
}

.product-card .btn-secondary:hover {
    background-color: #ffffff; /* Üzerine gelince arka plan beyaz */
    color: #1a1a1a;           /* Üzerine gelince yazı koyu */
    border-color: #1a1a1a;
}

.btn-primary-full { width: 100%; background-color: var(--color-green); color: var(--color-white); padding: 15px; border: none; border-radius: 5px; font-size: 16px; font-weight: 700; cursor: pointer; transition: background-color 0.3s; }
.btn-primary-full:hover { background-color: var(--color-green-hover); }

/* Öne Çıkan Ürünler & Ürün Kartı */
.featured-products { padding: 60px 0; }
.featured-products h2 { text-align: center; font-size: 32px; margin-bottom: 40px; color: var(--color-black); }
.product-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 30px; }
.product-card { background-color: var(--color-white); border: 1px solid #ddd; border-radius: 8px; box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05); text-align: center; padding: 20px; transition: transform 0.3s, box-shadow 0.3s; display: flex; flex-direction: column; justify-content: space-between;}
.product-card:hover { transform: translateY(-5px); box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1); }
.product-card > a { text-decoration: none; color: inherit; display: block; }
.product-card img { max-width: 100%; height: 200px; object-fit: cover; border-radius: 5px; margin-bottom: 15px; }
.product-card h3 { font-size: 18px; margin-bottom: 10px; margin-top: 0; }
.product-card .price { font-size: 20px; font-weight: 700; color: var(--color-green); margin-bottom: 20px; }

/* AJAX Buton Stili */
.btn-secondary.added-to-cart,
.add-to-cart-btn.added-to-cart {
    background-color: #27ae60; /* Başarı yeşili */
    color: white !important; /* Eklendi yazısı beyaz olsun */
    border-color: #27ae60;
}

/* Footer */
footer { background-color: var(--color-black); color: #aaa; padding: 40px 0; text-align: center; margin-top: 40px; }
footer p { margin: 5px 0; }

/* Sayfa İçerik Stilleri */
.page-content { padding: 60px 20px; background-color: var(--color-white); margin-top: 40px; margin-bottom: 40px; border-radius: 8px; box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08); }
.page-content h1 { text-align: center; font-size: 36px; margin-bottom: 40px; color: var(--color-black); }
.page-content p { font-size: 17px; line-height: 1.8; color: var(--color-grey-dark); margin-bottom: 20px; }
.page-image { width: 100%; max-height: 400px; object-fit: cover; border-radius: 8px; margin-bottom: 30px; }

/* İletişim Sayfası */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: flex-start; }
.contact-info p { font-size: 16px; line-height: 1.7; }
.contact-info strong { color: var(--color-black); }
.contact-form { margin-top: 40px; padding-top: 30px; border-top: 1px solid #eee; }
.contact-form h3 { margin-top: 0; margin-bottom: 20px; }
.contact-message { padding: 15px; margin-bottom: 20px; border-radius: 5px; font-weight: 600; }
.contact-message.error { background-color: var(--color-red-error-bg); color: var(--color-red-error-text); border: 1px solid var(--color-red-error-border); }
.contact-message.success { background-color: var(--color-green-success-bg); color: var(--color-green-success-text); border: 1px solid var(--color-green-success-border); }

/* Kategori Sayfası */
.page-padding { padding-top: 40px; padding-bottom: 40px; }
.category-page-grid { display: grid; grid-template-columns: 250px 1fr; gap: 40px; }
.sidebar { background-color: var(--color-white); padding: 20px; border-radius: 8px; box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08); height: fit-content; }
.sidebar h3 { font-size: 20px; color: var(--color-black); margin-top: 0; padding-bottom: 10px; border-bottom: 2px solid #eee; }
.sidebar ul { list-style: none; padding: 0; margin: 0; }
.sidebar li a { display: block; padding: 10px 5px; text-decoration: none; color: var(--color-grey-dark); font-weight: 600; border-radius: 5px; transition: background-color 0.3s, color 0.3s; }
.sidebar li a:hover { background-color: var(--color-green); color: var(--color-white); }
.product-listing h1 { font-size: 36px; color: var(--color-black); margin-top: 0; margin-bottom: 30px; }
.pagination { text-align: center; margin-top: 40px; }
.pagination a { color: var(--color-black); padding: 10px 16px; text-decoration: none; border: 1px solid #ddd; margin: 0 4px; border-radius: 5px; transition: background-color 0.3s, color 0.3s; }
.pagination a.active { background-color: var(--color-green); color: var(--color-white); border-color: var(--color-green); }
.pagination a:hover:not(.active) { background-color: #f1f1f1; }

/* Ürün Detay Sayfası */
.product-detail-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: start;}
.product-image-gallery .main-product-image { width: 100%; border-radius: 10px; box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1); border: 1px solid #eee; }
.product-info .product-title { font-size: 32px; color: var(--color-black); margin-top: 0; margin-bottom: 15px; line-height: 1.2; }
.product-info .product-price { display: block; font-size: 36px; font-weight: 800; color: var(--color-green); margin-bottom: 25px; }
.product-info .product-description { font-size: 16px; line-height: 1.7; color: var(--color-grey-dark); margin-bottom: 30px; }
.product-actions { display: flex; align-items: center; gap: 20px; margin-bottom: 30px; }
.quantity-selector { display: flex; align-items: center; border: 1px solid var(--color-grey-border); border-radius: 5px; }
.quantity-selector label { display: none; }
.quantity-selector input { width: 50px; text-align: center; font-size: 16px; font-weight: 700; border: none; outline: none; padding: 10px 0;}
.quantity-selector .quantity-btn { background-color: #f5f5f5; border: none; cursor: pointer; padding: 12px 15px; font-size: 16px; font-weight: bold; text-decoration: none; color: #333;}
.quantity-selector .quantity-btn.minus { border-right: 1px solid var(--color-grey-border); }
.quantity-selector .quantity-btn.plus { border-left: 1px solid var(--color-grey-border); }
.add-to-cart-btn { background-color: var(--color-green); color: var(--color-white); border: none; padding: 15px 30px; font-size: 16px; font-weight: 700; border-radius: 5px; cursor: pointer; text-transform: uppercase; transition: background-color 0.3s; text-decoration: none;}
.add-to-cart-btn:hover { background-color: var(--color-green-hover); }
.product-meta p { font-size: 15px; color: #333; }
.product-meta .in-stock { color: var(--color-green); font-weight: 700; }
.product-meta a { color: #333; text-decoration: none; font-weight: 700; }
.product-meta a:hover { color: var(--color-green); }

/* Sepet Sayfası */
.cart-layout { display: grid; grid-template-columns: 2fr 1fr; gap: 40px; align-items: flex-start; }
.cart-items { background-color: var(--color-white); padding: 20px; border-radius: 8px; box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08); }
.cart-item { display: flex; align-items: center; gap: 20px; padding: 20px 0; border-bottom: 1px solid #eee; }
.cart-item:last-child { border-bottom: none; }
.cart-item-image { width: 80px; height: 80px; object-fit: cover; border-radius: 5px; }
.cart-item-details { flex-grow: 1; }
.cart-item-title { display: block; text-decoration: none; color: #333; font-weight: 700; margin-bottom: 5px; }
.cart-item-title:hover { color: var(--color-green); }
.cart-item-price { color: #777; font-size: 14px; }
.cart-item-quantity { transform: scale(0.85); }
.cart-item-subtotal { font-weight: 700; width: 100px; text-align: right; }
.cart-item-remove { background-color: #fbebeb; color: var(--color-red-error-text); border: 1px solid var(--color-red-error-border); width: 30px; height: 30px; border-radius: 50%; cursor: pointer; font-size: 20px; font-weight: bold; line-height: 28px; transition: background-color 0.3s, color 0.3s; text-decoration: none; display: flex; align-items: center; justify-content: center;}
.cart-item-remove:hover { background-color: #e74c3c; color: var(--color-white); }
.cart-summary { background-color: var(--color-white); padding: 30px; border-radius: 8px; box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08); position: sticky; top: 120px; }
.cart-summary h3 { margin-top: 0; text-align: center; margin-bottom: 25px; font-size: 22px; }
.summary-row { display: flex; justify-content: space-between; margin-bottom: 15px; font-size: 16px; }
.summary-row.total { font-size: 20px; font-weight: 700; padding-top: 15px; border-top: 1px solid #eee; }
.btn-checkout { margin-top: 15px; }
.continue-shopping { display: block; text-align: center; margin-top: 20px; text-decoration: none; color: var(--color-grey-dark); font-weight: 600; }
.continue-shopping:hover { color: var(--color-green); }

/* Giriş/Kayıt Formu */
.auth-form-container { max-width: 500px; margin: 0 auto; background-color: var(--color-white); padding: 40px; border-radius: 8px; box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1); }
.auth-form h1 { text-align: center; font-size: 28px; margin-top: 0; margin-bottom: 30px; color: var(--color-black); }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 8px; color: #333; }
.form-group input, .form-group textarea, .form-group select { width: 100%; padding: 12px; border: 1px solid var(--color-grey-border); border-radius: 5px; font-size: 16px; box-sizing: border-box; }
.form-footer { text-align: center; margin-top: 25px; font-size: 14px; }
.form-footer a { color: var(--color-green); text-decoration: none; font-weight: 600; }
.form-footer p { margin: 10px 0 0; color: var(--color-grey-dark); }
.auth-message { padding: 15px; margin-bottom: 20px; border-radius: 5px; font-weight: 600; }
.auth-message.error { background-color: var(--color-red-error-bg); color: var(--color-red-error-text); border: 1px solid var(--color-red-error-border); }
.auth-message.success { background-color: var(--color-green-success-bg); color: var(--color-green-success-text); border: 1px solid var(--color-green-success-border); }
.contact-map iframe { /* Doğrudan iframe'i hedef alalım */
    border-radius: 8px; /* Diğer kutularla aynı yuvarlaklık */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08); /* Hafif bir gölge */
    border: 1px solid #eee; /* İnce bir çerçeve (isteğe bağlı) */
    display: block; /* iframe'in altındaki istenmeyen boşluğu kaldırabilir */
}
/* STOK DURUMU RENKLERİ */
.in-stock {
    color: var(--color-green-success); /* Başarı yeşili (veya var(--color-green)) */
    font-weight: 700;
}
.out-of-stock {
    color: var(--color-red-error-text); /* Hata kırmızısı */
    font-weight: 700;
}

/* DEVRE DIŞI BIRAKILMIŞ BUTON STİLİ */
.btn-disabled {
    background-color: #bdc3c7; /* Gri */
    color: #7f8c8d;
    cursor: not-allowed; /* Tıklanamaz imleci */
    pointer-events: none; /* Tıklamaları engelle */
}
.btn-disabled:hover {
    background-color: #bdc3c7; /* Hover efektini iptal et */
    color: #7f8c8d;
}
/* --- GENEL İYİLEŞTİRMELER --- */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; /* Daha modern font */
    background-color: #f9f9f9; /* Bembeyaz yerine çok açık gri (göz yormaz) */
}

/* --- 1. HERO (BANNER) ALANI: KARARTMA EFEKTİ --- */
.hero-section {
    position: relative;
    background-image: url('images/senin_dukkan_resmin.jpg'); /* Resim yolunu kontrol et */
    background-size: cover;
    background-position: center;
    height: 500px; /* Yüksekliği artırdık, daha heybetli dursun */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

/* Resmin üzerine siyah perde çekiyoruz ki yazı okunsun */
.hero-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.5); /* %50 Siyahlık */
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2; /* Yazıyı perdenin üstüne çıkar */
    max-width: 700px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero-btn {
    padding: 15px 40px;
    background-color: #4CAF50; /* Senin Yeşil Rengin */
    color: white;
    font-size: 1.2rem;
    border-radius: 50px; /* Yuvarlak köşeli buton */
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid #4CAF50;
}

.hero-btn:hover {
    background-color: transparent;
    border-color: #fff;
    transform: scale(1.05); /* Üzerine gelince hafif büyüsün */
}

/* --- 2. ÜRÜN KARTLARI: GÖLGE VE HAREKET --- */
.product-card {
    background: white;
    border: none; /* Kenar çizgisini kaldır */
    border-radius: 15px; /* Yumuşak köşeler */
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05); /* Hafif gölge */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
    padding-bottom: 20px;
}

.product-card:hover {
    transform: translateY(-10px); /* Üzerine gelince yukarı kaysın */
    box-shadow: 0 15px 30px rgba(0,0,0,0.15); /* Gölge derinleşsin */
}

.product-card img {
    width: 100%;
    height: 250px;
    object-fit: cover; /* Resmi kutuya sığdırır, bozmaz */
}

.product-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin: 15px 0 5px;
    color: #333;
}

.product-price {
    font-size: 1.3rem;
    color: #4CAF50;
    font-weight: bold;
    display: block;
    margin-bottom: 15px;
}

.btn-add-cart {
    background-color: #333;
    color: white;
    padding: 10px 25px;
    border-radius: 25px;
    text-decoration: none;
    transition: background 0.3s;
}

.btn-add-cart:hover {
    background-color: #4CAF50; /* Siyah butonu yeşile çevir */
}
/* MODERN MOZAİK TASARIM */
.mosaic-section {
    padding: 60px 0;
    background: #fff;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 40px;
    font-weight: 300; /* İnce ve zarif yazı */
    letter-spacing: 2px; /* Harf aralarını açarak premium hava veriyoruz */
    text-transform: uppercase;
}

.mosaic-grid {
    display: flex;
    gap: 20px;
    height: 500px; /* Vitrinin toplam yüksekliği */
}

/* Sol taraftaki büyük kutu */
.item-large {
    flex: 2; /* 3 parçanın 2'sini kaplasın */
    position: relative;
    background-size: cover;
    background-position: center;
    border-radius: 15px;
    overflow: hidden;
    text-decoration: none;
    transition: transform 0.4s ease;
}

/* Sağ taraftaki sütun */
.mosaic-column {
    flex: 1; /* 3 parçanın 1'ini kaplasın */
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Sağdaki küçük kutular */
.item-small {
    flex: 1; /* Yarı yarıya paylaşsınlar */
    position: relative;
    background-size: cover;
    background-position: center;
    border-radius: 15px;
    overflow: hidden;
    text-decoration: none;
    transition: transform 0.4s ease;
}

/* Resimlerin üzerindeki siyah filtre ve yazı */
.mosaic-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent); /* Aşağıdan yukarıya siyah gölge */
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 30px;
    color: white;
    opacity: 0.9;
    transition: background 0.3s;
}

.mosaic-overlay h3 {
    font-size: 1.8rem;
    margin: 0;
    font-weight: 700;
}

.mosaic-overlay p {
    font-size: 1rem;
    margin-top: 5px;
    color: #ddd;
    opacity: 0; /* Başta gizli olsun */
    transform: translateY(20px); /* Aşağıda dursun */
    transition: all 0.4s ease;
}

/* HOVER EFEKTLERİ (Mouse üzerine gelince) */
.mosaic-item:hover {
    transform: scale(0.98); /* Hafifçe içeri gömülsün */
}

.mosaic-item:hover .mosaic-overlay {
    background: rgba(0,0,0,0.6); /* Daha karanlık olsun */
}

.mosaic-item:hover p {
    opacity: 1; /* Yazı görünsün */
    transform: translateY(0); /* Yazı yukarı kaysın */
}

/* MOBİL UYUMLULUK (Telefonda alt alta dizilsin) */
@media (max-width: 768px) {
    .mosaic-grid {
        flex-direction: column;
        height: auto;
    }
    .item-large, .item-small {
        height: 250px; /* Mobilde yükseklik */
    }
}
.parallax-promo {
    height: 400px;
    background-attachment: fixed; /* İŞTE SİHİR BURADA: Resim sabit kalır, site kayar */
    background-position: center;
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    margin: 50px 0;
}
/* Karanlık perde */
.parallax-promo::before {
    content: '';
    position: absolute;
    top:0; left:0; right:0; bottom:0;
    background: rgba(0,0,0,0.5);
}
.parallax-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
}
.parallax-content h2 {
    font-size: 3rem;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px black;
}
.btn-parallax {
    display: inline-block;
    margin-top: 20px;
    padding: 15px 40px;
    background: white;
    color: #333;
    text-decoration: none;
    font-weight: bold;
    border-radius: 30px;
    transition: 0.3s;
}
.btn-parallax:hover {
    background: #4CAF50;
    color: white;
}
/* --- SÜSLÜ BAŞLIK TASARIMI --- */
.fancy-header {
    text-align: center;
    margin-bottom: 50px;
}

.fancy-header .sub-title {
    color: #4CAF50; /* Yeşil renk */
    font-size: 1.1rem;
    font-weight: bold;
    letter-spacing: 2px;
    text-transform: uppercase;
    display: block;
    margin-bottom: 10px;
}

.fancy-header h2 {
    font-size: 2.5rem;
    color: #333;
    margin: 0;
    font-weight: 800; /* Kalın yazı */
}

.fancy-header .header-line {
    width: 80px;
    height: 4px;
    background-color: #4CAF50;
    margin: 15px auto 0; /* Ortalar */
    border-radius: 2px;
}

/* Ürün kartlarını biraz hareketlendirelim */
.featured-products .product-card {
    background: white;
    border: none;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.featured-products .product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}
/* --- YENİ GÜVEN KUTULARI TASARIMI --- */
.features-section {
    padding: 50px 0;
    background-color: #fff;
    margin-bottom: 20px;
}

.feature-grid {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

/* Kartın Kendisi */
.feature-card {
    background: #ffffff;
    border: 1px solid #eee; /* İnce bir çizgi */
    border-radius: 12px; /* Köşeleri yuvarla */
    padding: 25px;
    flex: 1;
    min-width: 300px; /* Çok küçülmesin */
    display: flex; /* İkon ve yazıyı yan yana koy */
    align-items: center; 
    gap: 20px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.03); /* Çok hafif gölge */
    transition: all 0.3s ease; /* Hareket efekti için */
}

/* Kartın üzerine gelince (Hover) */
.feature-card:hover {
    transform: translateY(-5px); /* Kart yukarı kalksın */
    border-color: #4CAF50; /* Çerçevesi yeşil olsun */
    box-shadow: 0 10px 25px rgba(76, 175, 80, 0.15); /* Yeşilimsi gölge atsın */
}

/* İkonun Arkasındaki Yuvarlak */
.icon-circle {
    font-size: 2rem;
    background: #f1f8f2; /* Çok uçuk yeşil zemin */
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%; /* Tam yuvarlak */
    flex-shrink: 0;
}

/* Yazı Alanları */
.feature-info h3 {
    margin: 0 0 5px;
    font-size: 1.1rem;
    color: #333;
    font-weight: 700;
}

.feature-info p {
    margin: 0;
    font-size: 0.9rem;
    color: #777;
    line-height: 1.4;
}
/* --- PREMIUM GÜVEN BANDI TASARIMI --- */
.trust-features {
    background: #2c3e50; /* Koyu antrasit renk (Çok şık durur) */
    /* Alternatif Yeşil istersen: background: #2E7D32; yapabilirsin */
    padding: 40px 0;
    color: white;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    margin-bottom: 30px;
}

.trust-grid {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 15px;
    flex: 1;
    min-width: 220px;
    padding: 15px;
    border-right: 1px solid rgba(255,255,255,0.1); /* Aralara çizgi atar */
    transition: transform 0.3s ease;
}

/* Sonuncunun çizgisini kaldır */
.trust-item:last-child {
    border-right: none;
}

.trust-item:hover {
    transform: translateY(-5px); /* Üstüne gelince hafif zıplar */
    background: rgba(255,255,255,0.05); /* Hafif aydınlanır */
    border-radius: 10px;
}

/* İKON TASARIMI */
.icon-box i {
    font-size: 2.5rem;
    color: #4CAF50; /* Karamehmetler Yeşili */
    filter: drop-shadow(0 0 10px rgba(76, 175, 80, 0.4)); /* İkona neon ışık ver */
}

/* YAZI TASARIMI */
.text-box h3 {
    margin: 0 0 5px;
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #fff;
}

.text-box p {
    margin: 0;
    font-size: 0.85rem;
    color: #bbb; /* Hafif gri yazı */
    line-height: 1.2;
}

/* MOBİL İÇİN AYAR */
@media (max-width: 768px) {
    .trust-item {
        border-right: none; /* Mobilde çizgileri kaldır */
        border-bottom: 1px solid rgba(255,255,255,0.1);
        justify-content: flex-start; /* Sola yasla */
    }
}
/* --- GÜVEN BANDI (SEÇENEK 1: DOĞAL YEŞİL) --- */
.trust-features {
    background: #f1f8e9; /* Çok açık, tatlı bir yeşil */
    padding: 40px 0;
    margin-bottom: 30px;
    border-top: 1px solid #dcedc8;
    border-bottom: 1px solid #dcedc8;
}

.trust-grid {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 15px;
    flex: 1;
    min-width: 220px;
    padding: 15px;
    /* Çizgiyi kaldırdık, daha temiz olsun */
    transition: transform 0.3s ease;
}

.trust-item:hover {
    transform: translateY(-5px);
    background: white; /* Üstüne gelince kutu beyaz olsun */
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.icon-box i {
    font-size: 2.5rem;
    color: #4CAF50; /* Canlı yeşil ikon */
}

/* YAZI RENGİNİ KOYULTTUK */
.text-box h3 {
    margin: 0 0 5px;
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #2e7d32; /* Koyu yeşil başlık */
}

.text-box p {
    margin: 0;
    font-size: 0.85rem;
    color: #555; /* Koyu gri yazı */
}
/* --- MENÜ AYARI (FİNAL VERSİYON) --- */
.category-menu .container {
    max-width: 1350px !important; /* Ekranı kaplamaz, sadece gerektiği kadar genişler */
    width: 95% !important; /* Mobilde taşma yapmasın */
    display: flex !important;
    justify-content: center !important; /* İki uca yayma, ORTALA */
    flex-wrap: nowrap !important; /* Asla alt satıra geçme */
    margin: 0 auto !important; /* Kutuyu ekranın ortasına getir */
}

.category-menu a {
    font-size: 14px !important; /* Ne çok büyük ne çok küçük */
    font-weight: 700 !important; /* Tok duruş */
    padding: 15px 10px !important; /* İdeal boşluk */
    letter-spacing: 0px !important;
}
/* =========================================
   KARAMEHMETLER - PREMIUM TASARIM PAKETİ (FİNAL)
   ========================================= */

/* --- 1. AÇILIR MENÜ (DROPDOWN) --- */
.category-menu { background: #f8f9fa; border-bottom: 1px solid #ddd; position: relative; z-index: 999; }
.category-menu .container { display: flex; justify-content: center; flex-wrap: wrap; }

.menu-item { position: relative; display: inline-block; }
.menu-item > a { 
    display: block; padding: 15px 20px; color: #333; font-weight: 800; 
    text-decoration: none; font-size: 14px; transition: 0.3s; text-transform: uppercase; 
}
.menu-item:hover > a { color: #4CAF50; background: #fff; }

/* Gizli Alt Menü */
.dropdown-content { 
    display: none; position: absolute; top: 100%; left: 0; 
    background-color: #fff; min-width: 220px; 
    box-shadow: 0 8px 20px rgba(0,0,0,0.15); 
    border-top: 3px solid #4CAF50; z-index: 1000; 
}
.menu-item:hover .dropdown-content { display: block; }

.dropdown-content a { 
    color: #555; padding: 12px 16px; text-decoration: none; 
    display: block; text-transform: capitalize; border-bottom: 1px solid #f1f1f1; 
    font-weight: 600; text-align: left; font-size: 14px;
}
.dropdown-content a:hover { background-color: #f9f9f9; color: #4CAF50; padding-left: 20px; transition: 0.2s; }
.fa-chevron-down { font-size: 10px; margin-left: 5px; opacity: 0.6; }


/* === SLIDER (YAZILAR TAM ORTADA) === */
.hero-slider {
    width: 100%;
    height: 600px;
    position: relative;
    overflow: hidden;
}
.swiper-slide {
    background-size: cover;
    background-position: center;
    position: relative;
}
.slide-overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.4); /* Resim karartma */
    z-index: 1;
}
.slide-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); /* TAM ORTALAMA SİHRİ BURADA */
    color: #fff;
    max-width: 800px;
    text-align: center; /* Yazıları ortala */
    z-index: 10;
    width: 90%;
}
.slide-content h1 {
    font-size: 3.5rem; font-weight: 800; margin-bottom: 20px;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.5);
}
.slide-content p {
    font-size: 1.3rem; margin-bottom: 30px; font-weight: 600;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}
.slide-btn {
    background: #4CAF50; color: #fff; padding: 15px 45px;
    font-size: 1.1rem; font-weight: 700; text-decoration: none;
    border-radius: 50px; display: inline-block; transition: 0.3s;
}
.slide-btn:hover { background: #388E3C; transform: scale(1.05); }
.swiper-button-next, .swiper-button-prev { color: #fff !important; }

/* --- 3. MEGA FOOTER --- */
.mega-footer { background: #1a1a1a; color: #bbb; padding: 60px 0 20px; margin-top: 50px; border-top: 4px solid #4CAF50; }
.footer-col h4 { color: #fff; font-weight: 800; margin-bottom: 20px; text-transform: uppercase; letter-spacing: 1px; }
.footer-col ul { list-style: none; padding: 0; margin: 0; line-height: 2.2; }
.footer-col a { color: #bbb; text-decoration: none; transition: 0.3s; }
.footer-col a:hover { color: #fff; padding-left: 5px; }
.social-links a { 
    width: 40px; height: 40px; background: #333; display: inline-flex; 
    align-items: center; justify-content: center; border-radius: 50%; 
    color: #fff; text-decoration: none; margin-right: 10px; transition: 0.3s; 
}
.social-links a:hover { background: #4CAF50; transform: translateY(-3px); }


/* --- 4. ÜRÜN DETAY SAYFASI --- */
.page-padding { padding: 40px 20px; }
.product-detail-layout { 
    display: flex; flex-wrap: wrap; gap: 40px; 
    background: #fff; padding: 40px; border-radius: 12px; 
    box-shadow: 0 5px 20px rgba(0,0,0,0.05); max-width: 1200px; margin: 0 auto; 
}

/* Sol ve Sağ Alan */
.product-image-gallery { flex: 1; min-width: 350px; text-align: center; }
.main-product-image { width: 100%; max-width: 500px; border-radius: 10px; object-fit: contain; border: 1px solid #f0f0f0; }
.product-info { flex: 1; min-width: 350px; }

/* Başlık ve Fiyat */
.product-title { font-size: 2.2rem; font-weight: 800; color: #222; margin-bottom: 10px; line-height: 1.2; }
.product-meta { color: #777; font-size: 0.9rem; margin-bottom: 20px; }
.product-price { display: block; font-size: 2.2rem; color: #d32f2f; font-weight: 800; margin-bottom: 25px; }

/* Gramaj Butonları */
.weight-options { margin-bottom: 30px; }
.weight-label { font-weight: 700; margin-bottom: 10px; display: block; color: #555; text-transform: uppercase; font-size: 0.85rem; letter-spacing: 1px; }
.weight-btn { padding: 10px 25px; border: 1px solid #ddd; background: #fff; cursor: pointer; margin-right: 10px; border-radius: 5px; transition: 0.2s; font-weight: 700; color: #555; }
.weight-btn.active { border-color: #333; background: #333; color: #fff; transform: scale(1.05); }
.weight-btn:hover { border-color: #999; }

/* Sepet Butonları */
.product-actions { display: flex; align-items: center; gap: 15px; margin-top: 20px; flex-wrap: wrap; }
.quantity-selector { display: flex; align-items: center; border: 1px solid #ddd; border-radius: 5px; overflow: hidden; height: 55px; }
.quantity-btn { background: #f8f9fa; border: none; width: 45px; height: 100%; cursor: pointer; font-weight: bold; font-size: 1.2rem; color: #555; }
#quantity_input { width: 50px; text-align: center; border: none; font-weight: bold; font-size: 1.1rem; height: 100%; outline: none; }
.add-to-cart-btn { background-color: #222; color: #fff; padding: 0 50px; height: 55px; display: flex; align-items: center; justify-content: center; text-decoration: none; font-weight: 800; border-radius: 5px; transition: 0.3s; font-size: 1rem; border: none; cursor: pointer; flex-grow: 1; }
.add-to-cart-btn:hover { background-color: #4CAF50; transform: translateY(-2px); }

/* Teslimat Kutuları */
.delivery-info-box { display: flex; gap: 30px; margin-top: 40px; padding-top: 30px; border-top: 1px solid #eee; }
.info-item { display: flex; align-items: center; gap: 15px; color: #555; font-size: 0.95rem; }
.info-item i { font-size: 2rem; color: #4CAF50; }

/* Sekmeler (Tabs) */
.tabs-container { max-width: 1200px; margin: 40px auto; background: #fff; padding: 0; border-radius: 12px; box-shadow: 0 5px 20px rgba(0,0,0,0.05); overflow: hidden; }
.tab-buttons { display: flex; border-bottom: 1px solid #eee; background: #fcfcfc; }
.tab-btn { padding: 20px 40px; background: none; border: none; font-size: 16px; font-weight: 700; color: #777; cursor: pointer; position: relative; transition: 0.3s; }
.tab-btn:hover { background: #fff; color: #333; }
.tab-btn.active { color: #222; background: #fff; border-top: 3px solid #d32f2f; }
.tab-content { display: none; padding: 40px; line-height: 1.8; color: #555; font-size: 1rem; }
.tab-content.active { display: block; animation: fadeIn 0.5s; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

/* Benzer Ürünler */
.related-products { max-width: 1200px; margin: 60px auto; text-align: center; }
.section-title { font-size: 1.8rem; font-weight: 800; margin-bottom: 30px; color: #222; }
.product-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 30px; justify-content: center; }
.product-card { background: #fff; border-radius: 10px; padding: 20px; text-align: center; border: 1px solid #f0f0f0; transition: 0.3s; }
.product-card:hover { transform: translateY(-5px); box-shadow: 0 10px 20px rgba(0,0,0,0.08); border-color: #4CAF50; }
.product-card img { width: 100%; height: 200px; object-fit: contain; margin-bottom: 15px; }
.product-card h3 { font-size: 1.1rem; color: #333; margin: 10px 0; height: 50px; overflow: hidden; font-weight: 700; }
.product-card .price { font-size: 1.3rem; font-weight: 800; color: #d32f2f; }
/* --- YENİ YAPIŞKAN MENÜ SİSTEMİ --- */

/* 1. Kapsayıcı Kutu (Header + Menüyü tutan kutu) */
.ust-blok-sabit {
    position: sticky;       /* Yapışkan özellik */
    position: -webkit-sticky;
    top: 0;                 /* En tepeye yapış */
    z-index: 9999;          /* Her şeyin üstünde olsun */
    width: 100%;
    background-color: #fff; /* Arka plan */
    box-shadow: 0 4px 10px rgba(0,0,0,0.1); /* Altına güzel bir gölge */
}

/* 2. İçindeki elemanların yapışkanlığını iptal et (Çakışmasınlar) */
header {
    position: relative !important;
    top: auto !important;
    box-shadow: none !important; /* Gölgeyi ana kutuya verdik */
    z-index: auto !important;
}

.category-menu {
    position: relative !important;
    top: auto !important;
    z-index: auto !important;
}
/* Kategori menüsündeki aşağı okları her sayfada gizle */
.category-menu .fa-chevron-down{
  display: none !important;
}
/* ÇOKLU PAKET KART TASARIMI */
.bundle-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); /* Yan yana sığdır */
    gap: 30px;
    margin-top: 30px;
}

.bundle-item {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
}

.bundle-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    border-color: #4CAF50;
}

.bundle-img-box {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.bundle-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.bundle-item:hover .bundle-img-box img {
    transform: scale(1.05);
}

.discount-tag {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #d32f2f;
    color: #fff;
    font-size: 0.8rem;
    font-weight: 800;
    padding: 5px 10px;
    border-radius: 4px;
    z-index: 2;
}

.bundle-info {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.bundle-info h3 {
    margin-bottom: 10px;
    font-size: 1.2rem;
    line-height: 1.4;
}

.bundle-info h3 a {
    text-decoration: none;
    color: #222;
    font-weight: 800;
    transition: color 0.3s;
}

.bundle-info h3 a:hover {
    color: #4CAF50;
}

.bundle-text {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 20px;
    line-height: 1.5;
    flex: 1; /* Alt kısmın hizalanması için */
}

.bundle-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 15px;
    border-top: 1px solid #f5f5f5;
}

.price-box {
    display: flex;
    flex-direction: column;
}

.price-box .old {
    text-decoration: line-through;
    color: #999;
    font-size: 0.9rem;
}

.price-box .new {
    color: #d32f2f;
    font-size: 1.3rem;
    font-weight: 800;
}

.btn-add-cart {
    background: #4CAF50;
    color: #fff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: 0.3s;
    box-shadow: 0 3px 10px rgba(76, 175, 80, 0.3);
}

.btn-add-cart:hover {
    background: #388E3C;
    transform: scale(1.1);
}
/* =======================================================
   MOBİL UYUMLULUK (RESPONSIVE) KODLARI
   Bu kodları style.css dosyasının EN ALTINA yapıştırın.
   ======================================================= */

@media (max-width: 768px) {

    /* --- GENEL AYARLAR --- */
    .container {
        padding: 0 15px;
    }

    /* --- HEADER (ÜST KISIM) --- */
    header .container {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    /* Logo Düzenlemesi */
    header .logo a {
        justify-content: center;
    }
    header .logo img {
        height: 60px;
    }
    .logo-main-text {
        font-size: 22px;
    }
    .logo-sub-text {
        font-size: 11px;
        letter-spacing: 1px;
    }

    /* Arama Çubuğu */
    .center-nav {
        width: 100%;
        margin: 0;
        order: 3;
    }
    .search-bar {
        width: 100%;
        max-width: none;
    }
    header .main-menu {
        display: none;
    }

    /* Kullanıcı İkonları (Sepet vs) */
    .user-actions {
        width: 100%;
        justify-content: center;
        margin-top: 10px;
    }
    .welcome-message {
        display: none;
    }

    /* --- KATEGORİ MENÜSÜ --- */
    .category-menu .container {
        flex-wrap: wrap !important;
        gap: 5px;
    }
    .category-menu a {
        font-size: 12px !important;
        padding: 8px 5px !important;
        flex: 1 1 auto;
        text-align: center;
    }

    /* --- HERO (BANNER) ALANI --- */
    .hero-section, .hero-slider {
        height: 300px;
    }
    .hero-title, .slide-content h1 {
        font-size: 1.8rem;
    }
    .slide-content p {
        display: none;
    }
    .slide-btn, .hero-btn {
        padding: 10px 25px;
        font-size: 1rem;
    }

    /* --- ÜRÜN LİSTESİ (GRID) --- */
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    @media (max-width: 400px) {
        .product-grid {
            grid-template-columns: 1fr;
        }
    }

    /* --- ÜRÜN DETAY SAYFASI --- */
    .product-detail-layout {
        display: block;
        padding: 20px;
    }
    .product-image-gallery {
        margin-bottom: 20px;
    }
    .product-title {
        font-size: 1.5rem;
        text-align: center;
    }
    .product-price {
        font-size: 1.8rem;
        text-align: center;
    }
    .product-actions {
        flex-direction: column;
    }
    .add-to-cart-btn {
        width: 100%;
    }
    .delivery-info-box {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    /* --- SEPET SAYFASI --- */
    .cart-layout {
        grid-template-columns: 1fr;
    }
    .cart-summary {
        position: static;
        margin-top: 20px;
    }
    .cart-item {
        flex-direction: column;
        text-align: center;
        position: relative;
    }
    .cart-item-remove {
        position: absolute;
        top: 10px;
        right: 0;
    }
    .cart-item-subtotal {
        width: 100%;
        text-align: center;
        margin-top: 10px;
        font-size: 1.2rem;
        color: var(--color-green);
    }

    /* --- İLETİŞİM VE DİĞER SAYFALAR --- */
    .contact-grid, .category-page-grid {
        grid-template-columns: 1fr;
    }
    .sidebar {
        order: 2;
        margin-top: 30px;
    }
    
    /* --- GÜVEN KUTULARI (ICONLAR) --- */
    .trust-grid {
        flex-direction: column;
    }
    .trust-item {
        border-right: none;
        border-bottom: 1px solid rgba(0,0,0,0.05);
    }

    /* --- MOZAİK ALAN --- */
    .mosaic-grid {
        flex-direction: column;
        height: auto;
    }
    .item-large, .item-small, .mosaic-column {
        height: 250px;
        flex: none;
        width: 100%;
    }
}
/* ===============================
   MOBIL YATAY KAYMA (HORIZONTAL SCROLL) FIX
   stil.css en altına ekle
================================ */

/* 1) Her şey border-box olsun (padding taşırmasın) */
*, *::before, *::after { box-sizing: border-box; }

/* 2) Sayfa yatay taşmayı kapat */
html, body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

/* 3) Medyalar asla taşmasın */
img, video, iframe {
  max-width: 100%;
  height: auto;
  display: block;
}

/* 4) Sık görülen taşma sebebi: 100vw (scrollbar dahil) 
   Eğer bir yerde width:100vw kullandıysan, mümkünse 100% yap.
   Burada güvenli şekilde wrapper’ları sınırla:
*/
.ust-blok-sabit,
header,
nav,
main,
footer,
.container {
  max-width: 100%;
}

/* 5) Kategori menüsü mobilde taşırır -> yatay kaydırılabilir yap */
@media (max-width: 768px) {
  .category-menu .container {
    flex-wrap: nowrap !important;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    justify-content: flex-start !important;
    gap: 10px !important;
    padding: 0 10px !important;
  }

  .category-menu .menu-item > a,
  .category-menu a {
    white-space: nowrap;
    font-size: 12px;
    padding: 12px 12px;
  }

  /* dropdown mobilde genişlik taşırmasın */
  .dropdown-content {
    left: 0;
    right: auto;
    max-width: calc(100vw - 20px);
  }
}

/* 6) Slider/hero alanı da bazen taşırır */
.hero-slider,
.swiper,
.swiper-wrapper {
  overflow: hidden;
  max-width: 100%;
}

/* 7) Form inputlar (search vs.) mobilde taşmasın */
.search-bar,
.search-bar input,
.search-bar button {
  max-width: 100%;
}
.search-bar input { min-width: 0; }

/* 8) Sabit WhatsApp/Instagram ikonları taşırmasın (olur da genişlik verildiyse) */
a[title="Instagram'da Takip Et"],
a[title="WhatsApp ile Sipariş Ver"] {
  max-width: 100vw;
}
/* ==============================
   MOBİL CATEGORY MENU -> ALTA KIR (SAĞA KAYMA YOK)
   stil.css en altına ekle
================================ */

/* Genel taşma önlemi */
html, body { overflow-x: hidden; }
*, *::before, *::after { box-sizing: border-box; }

@media (max-width: 768px) {

  /* Menü container: yatay kaydırma KAPALI */
  .category-menu .container{
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 8px !important;
    padding: 8px 10px !important;

    overflow-x: hidden !important;
  }

  /* Hem .menu-item'lar hem de direkt <a> kullanılan sayfalar için */
  .category-menu .menu-item,
  .category-menu .container > a{
    flex: 0 0 calc(50% - 8px) !important;   /* 2 sütun */
    max-width: calc(50% - 8px) !important;
  }

  /* Linkler tek satır, kutu gibi */
  .category-menu .menu-item > a,
  .category-menu .container > a{
    width: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    text-align: center !important;
    white-space: nowrap !important;

    padding: 10px 8px !important;
    font-size: 12px !important;
    border-radius: 8px !important;
  }

  /* Mobilde dropdown'ı kapat (hover zaten çalışmıyor, taşma da yapıyor) */
  .category-menu .dropdown-content{
    display: none !important;
  }

  /* Chevron ikonları mobilde gereksiz (ve taşma yapabiliyor) */
  .category-menu .fa-chevron-down{
    display: none !important;
  }
}
/* ==============================
   MOBİL HEADER DÜZELTME (üst üste binme fix)
   stil.css en altına ekle
================================ */

@media (max-width: 768px) {

  /* Header içi alt alta dizilsin */
  header .container{
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 10px !important;
    height: auto !important;
  }

  /* Logo ortalansın, taşmasın */
  .logo a{
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    gap: 6px !important;
  }

  .logo img{
    max-width: 150px !important;
    height: auto !important;
  }

  .logo-text{
    text-align: center !important;
    align-items: center !important;
  }

  /* Menü + arama alt alta */
  .center-nav{
    width: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 10px !important;
  }

  .main-menu{
    width: 100% !important;
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 10px !important;
  }

  .search-bar{
    width: 100% !important;
    max-width: 520px !important;
  }

  .search-bar input{
    width: 100% !important;
  }

  /* Kullanıcı aksiyonları da alt satıra */
  .user-actions{
    width: 100% !important;
    display: flex !important;
    justify-content: center !important;
    flex-wrap: wrap !important;
    gap: 10px !important;
  }
}
/* HERO SLIDER - FADE MODE OVERRIDE (EN ALTA) */
.hero-slider.myHeroSwiper{
  background: #000 !important; /* resim gelmezse bile beyaz patlamasın */
  overflow: hidden !important;
}

/* Slide her durumda dolu gözüksün */
.hero-slider.myHeroSwiper .swiper-slide{
  background-color: #000 !important;
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;

  /* bazı tarayıcılarda repaint düzeltir */
  transform: translateZ(0);
  backface-visibility: hidden;
}
/* =========================================
   MOBİL HEADER = INDEX GİBİ (TÜM SAYFALAR)
   (stil.css EN ALT)
========================================= */
@media (max-width: 768px){

  /* Hem .ust-blok-sabit olan sayfalar hem de olmayanlar yakalansın */
  .ust-blok-sabit header .container,
  header .container{
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
    text-align: center !important;
  }

  /* LOGO: indexteki gibi ortada ve büyük */
  .ust-blok-sabit header .logo,
  header .logo{
    width: 100% !important;
    display: flex !important;
    justify-content: center !important;
  }

  .ust-blok-sabit header .logo a,
  header .logo a{
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    gap: 8px !important;
  }

  .ust-blok-sabit header .logo img,
  header .logo img{
    height: 90px !important;
    width: auto !important;
    display: block !important;
  }

  /* Daha önce "logo-text display:none" yaptıysan bunu geri açar */
  .ust-blok-sabit header .logo .logo-text,
  header .logo .logo-text{
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 2px !important;
  }

  .ust-blok-sabit header .logo .logo-main-text,
  header .logo .logo-main-text{
    font-size: 26px !important;
    line-height: 1.1 !important;
    letter-spacing: .5px !important;
  }

  .ust-blok-sabit header .logo .logo-sub-text,
  header .logo .logo-sub-text{
    font-size: 12px !important;
    line-height: 1.1 !important;
  }

  /* USER ACTIONS: logo altına ortalı */
  .ust-blok-sabit header .user-actions,
  header .user-actions{
    width: 100% !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 10px !important;
    margin: 2px 0 0 0 !important;
    white-space: nowrap !important;
  }

  /* Menü + arama: alt alta */
  .ust-blok-sabit header .center-nav,
  header .center-nav{
    width: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 10px !important;
  }

  /* Ana menü (Ana Sayfa / Hakkımızda / İletişim) mobilde görünür ve ortalı */
  .ust-blok-sabit header .main-menu,
  header .main-menu{
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 18px !important;
    margin: 0 !important;
  }

  .ust-blok-sabit header .main-menu a,
  header .main-menu a{
    font-size: 16px !important;
    padding: 6px 4px !important;
  }

  /* Arama barı tam genişlik */
  .ust-blok-sabit header .search-bar,
  header .search-bar{
    width: min(520px, 92%) !important;
    margin: 0 auto !important;
    display: flex !important;
  }
  .ust-blok-sabit header .search-bar input,
  header .search-bar input{
    flex: 1 !important;
    min-width: 0 !important;
  }
  .ust-blok-sabit header .search-bar button,
  header .search-bar button{
    flex: 0 0 auto !important;
  }

  /* Kategori menüsü (SÜT ÜRÜNLERİ vs.) mobilde taşarsa yatay kaydır */
  .ust-blok-sabit .category-menu .container,
  .category-menu .container{
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch;
    gap: 14px !important;
  }
  .ust-blok-sabit .category-menu a,
  .category-menu a{
    white-space: nowrap !important;
    font-size: 12px !important;
  }
}
@media (max-width: 768px){
  table.orders-table,
  table.orders-table thead,
  table.orders-table tbody,
  table.orders-table th,
  table.orders-table td,
  table.orders-table tr{
    display: block !important;
    width: 100% !important;
  }

  table.orders-table thead{ display: none !important; }

  table.orders-table tr{
    background:#fff !important;
    border:1px solid #eee !important;
    border-radius:14px !important;
    padding:12px !important;
    margin:0 0 12px 0 !important;
    overflow: visible !important;
  }

  table.orders-table td{
    display:flex !important;
    justify-content: space-between !important;
    align-items:center !important;
    gap:14px !important;
    padding:10px 0 !important;
    border-bottom:1px solid #f2f2f2 !important;
  }

  table.orders-table td:last-child{ border-bottom:none !important; }

  table.orders-table td::before{
    font-weight:700 !important;
    color:#666 !important;
    flex:0 0 auto !important;
  }

  table.orders-table td:nth-child(1)::before{ content:"Sipariş No"; }
  table.orders-table td:nth-child(2)::before{ content:"Tarih"; }
  table.orders-table td:nth-child(3)::before{ content:"Tutar"; }
  table.orders-table td:nth-child(4)::before{ content:"Durum"; }
  table.orders-table td:nth-child(5)::before{ content:"Detay"; }
}
@media (min-width: 769px){
  table.orders-table{
    display: table !important;
    width: 100% !important;
    border-collapse: collapse !important;
  }
  table.orders-table thead{ display: table-header-group !important; }
  table.orders-table tbody{ display: table-row-group !important; }
  table.orders-table tr{ display: table-row !important; }
  table.orders-table th,
  table.orders-table td{
    display: table-cell !important;
    padding: 8px 10px !important;
    vertical-align: middle !important;
  }
}
/* Paketlerde indirim yazısını ürün adı altında göster */
.firsat-badge.firsat-inline{
  position: static !important;
  top: auto !important;
  left: auto !important;
  margin: 10px 0 0 0 !important;
  display: inline-block !important;
  width: fit-content;
}
.cargo-box{
  margin-top:15px;
  padding:14px;
  border:1px solid #eee;
  border-radius:8px;
  background:#fafafa;
}
.btn-track{
  display:inline-block;
  margin-top:10px;
  background:#4CAF50;
  color:#fff;
  padding:10px 14px;
  border-radius:6px;
  text-decoration:none;
  font-weight:700;
}
.btn-track:hover{ opacity:.92; }
/* Paket içeriğinde ürün bazlı fiyatları gizle (sadece gramaj kalsın) */
.bundle-builder .b-price-box {
    display: none !important;
}
/* ÜST BAR KAYAN YAZI */
.topbar-marquee{
  overflow: hidden;
  white-space: nowrap;
}

.topbar-marquee .marquee-track{
  display: inline-block;
  padding-left: 100%;
  animation: topbarMarquee 18s linear infinite;
  font-weight: 800;
  letter-spacing: 0.5px;
}

/* Hover olunca dursun (PC) */
.topbar-marquee:hover .marquee-track{
  animation-play-state: paused;
}

@keyframes topbarMarquee{
  0%   { transform: translateX(0); }
  100% { transform: translateX(-100%); }
}

/* Hareket hassasiyeti olanlar için kapat */
@media (prefers-reduced-motion: reduce){
  .topbar-marquee .marquee-track{ animation: none; padding-left: 0; }
}
#snow-canvas{
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;   /* tıklamaları engellemez */
  z-index: 9999;          /* en üstte dursun */
}
/* =========================
   CATEGORY MENU: SADECE DIKDORTGEN KARLI ARKA PLAN
   (Menulere/droplara dokunmaz)
   ========================= */

/* ESKI ::before/::after efektlerini kapat (varsa) */
.category-menu::before,
.category-menu::after{
  content: none !important;
}

/* Karly arka plan */
.category-menu{
  background-color: #F6F1E7 !important;

  /* kar efekti (ustten asagi hafif inen) */
  background-image:
    linear-gradient(to bottom,
      rgba(255,255,255,0.95) 0px,
      rgba(255,255,255,0.95) 16px,
      rgba(255,255,255,0.00) 52px
    ),
    radial-gradient(circle at 20px 14px, rgba(255,255,255,0.98) 0 14px, transparent 15px),
    radial-gradient(circle at 70px 16px, rgba(255,255,255,0.98) 0 18px, transparent 19px),
    radial-gradient(circle at 120px 14px, rgba(255,255,255,0.98) 0 14px, transparent 15px);

  background-repeat: no-repeat, repeat-x, repeat-x, repeat-x;
  background-size: 100% 60px, 140px 36px, 140px 36px, 140px 36px;
  background-position: 0 0, 0 -6px, 0 -4px, 0 -6px;

  border-top: 1px solid rgba(0,0,0,0.08);
  border-bottom: 1px solid rgba(0,0,0,0.10);
}

