    /* Genel Reset & Variables */
:root {
    --primary-color: #FF6B00;
    --secondary-color: #FFFFFF;
    --text-color: #333333;
    --border-color: #E0E0E0;
    --hover-bg: #F5F5F5;
}

    .main-header {
        font-family: Arial, sans-serif;
        box-sizing: border-box;
    }



a, a:hover, a:active, a:focus {
  text-decoration: none;
  xoutline: none;
  outline: 0;
}


    /* Mobile Menu Toggle */
    .mobile-menu-toggle {
        display: block;
        margin-right: 10px;
    }

    #mobile-menu-btn {
        background: none;
        border: none;
        cursor: pointer;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        width: 35px;
        height: 20px;
    }

    #mobile-menu-btn span {
        display: block;
        height: 2px;
        width: 100%;
        background-color: var(--text-color);
    }



/* XXXXXXX   XXXXXXX   XXXXXXX   XXXXXXX   XXXXXXX   */
@media screen and (max-width:850px) { 
  .header-main { 
 padding: 10px 10px;
} }

@media screen and (min-width:850px) { 
  .header-main { 
 flex-wrap: nowrap;
 padding: 15px 20px;
} }
/* XXXXXXX   XXXXXXX   XXXXXXX   XXXXXXX   XXXXXXX   */  


/* Ana Header */
  .header-main {
 display: flex;
 xdisplay: block;
 justify-content: space-between;
 align-items: center;
 padding: 10px 15px;
 background-color: white;
 box-shadow: 0 2px 5px rgba(0,0,0,0.1);
 xflex-wrap: wrap; /* Mobilde satırları kaydır */
 mmax-width: 80%;
}





    
    

    
    
  
  
/* XXXXXXX   XXXXXXX   XXXXXXX   XXXXXXX   XXXXXXX   */
@media screen and (max-width:850px) { 
.logo-container { 
  xflex-grow: 1;
  text-align: center;
  xmin-width: 120px;
  xleft: 5px;
} }

@media screen and (min-width:850px) { 
.logo-container { 
  min-width: auto;
} }
/* XXXXXXX   XXXXXXX   XXXXXXX   XXXXXXX   XXXXXXX   */   
    


/* XXXXXXX   XXXXXXX   XXXXXXX   XXXXXXX   XXXXXXX   */
@media screen and (max-width:850px) { 
.logo-img { 
  xxheight: 35px;
  max-width: 145px;
  xleft: 5px;
} }

@media screen and (min-width:850px) { 
.logo-img { 
  xxheight: 50px;
  max-width: 220px;
} }
/* XXXXXXX   XXXXXXX   XXXXXXX   XXXXXXX   XXXXXXX   */    
  
  
  
    
    
    
/* XXXXXXX   XXXXXXX   XXXXXXX   XXXXXXX   XXXXXXX   */
@media screen and (max-width:850px) { 
.avatar-boyut-ayarlari { 
    width: 18px; 
    height: 18px; 
    border: 1px solid #999999; 
    border-radius: 100%;
} }

@media screen and (min-width:850px) { 
.avatar-boyut-ayarlari { 
    width: 24px; 
    height: 24px; 
    border: 1px solid #999999; 
    border-radius: 100%;
} }
/* XXXXXXX   XXXXXXX   XXXXXXX   XXXXXXX   XXXXXXX   */    
    
    
    
 
    


        
/* XXXXXXX   XXXXXXX   XXXXXXX   XXXXXXX   XXXXXXX   */
@media screen and (max-width:850px) { 
.mobilde-iconlarin-tumunu-ortala { 
    justify-content: center;
    align-items: center;
    text-align: center;
    xpadding: 0px 50px;
    background-color: white;
    margin-top: 5px;
} }

@media screen and (min-width:850px) { 
.mobilde-iconlarin-tumunu-ortala { 

} }
/* XXXXXXX   XXXXXXX   XXXXXXX   XXXXXXX   XXXXXXX   */  





/* XXXXXXX   XXXXXXX   XXXXXXX   XXXXXXX   XXXXXXX   */
@media screen and (max-width:850px) { 
.account-cart {
    display: none;
} }

@media screen and (min-width:850px) { 
.account-cart { 
    display: flex;
    gap: 15px;
    margin-left: 10px;
    padding: 1px 10px;
    text-decoration: none;

} }
/* XXXXXXX   XXXXXXX   XXXXXXX   XXXXXXX   XXXXXXX   */     
  
  



/* XXXXXXX   XXXXXXX   XXXXXXX   XXXXXXX   XXXXXXX   */
@media screen and (max-width:850px) { 
.mobilde-profil-resmi-pozisyon { 
    xdisplay: none;
    xposition: absolute;
    position: relative;
    xtop: 20px;
    right: -65px;
} }

@media screen and (min-width:850px) { 
.mobilde-profil-resmi-pozisyon { 
    xdisplay: none;
    xposition: absolute;
    position: relative;
    xtop: 20px;
    right: 20px;
} }
/* XXXXXXX   XXXXXXX   XXXXXXX   XXXXXXX   XXXXXXX   */   



/* XXXXXXX   XXXXXXX   XXXXXXX   XXXXXXX   XXXXXXX   */
@media screen and (max-width:850px) { 
.account-link, .cart-link { 
    font-size: 12px;
    gap: 3px;
} }

@media screen and (min-width:850px) { 
.account-link, .cart-link { 
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--text-color);
    font-size: 15px;  /* YAZIYI MASA ÜSTÜ BÜYÜT */
    gap: 1px;
} }
/* XXXXXXX   XXXXXXX   XXXXXXX   XXXXXXX   XXXXXXX   */  




/* SEPET ADETİNİ GÖSTEREN TURUNCU YUVARLAK */
.cart-link {
    position: relative;
    padding: 1 19px; /* SONRADAN EKLEDİM */
    text-decoration: none;
}







/* XXXXXXX   XXXXXXX   XXXXXXX   XXXXXXX   XXXXXXX   */
@media screen and (max-width:850px) { 
.mobil-icon-birlestirme { 
width: 160px;
height: 15px;
xright: -2px;
} }

@media screen and (min-width:850px) { 
.mobil-icon-birlestirme { 
display: none;
} }
/* XXXXXXX   XXXXXXX   XXXXXXX   XXXXXXX   XXXXXXX   */  




/* XXXXXXX   XXXXXXX   XXXXXXX   XXXXXXX   XXXXXXX   */
@media screen and (max-width:850px) { 
.mobil-cart-link { 
    font-size: 12px;
    padding: 4 1px;
    gap: 3px;
    color: #FF9933; /* İCON RENKLERİ   */
} }

@media screen and (min-width:850px) { 
.mobil-cart-link { 
display: none;
} }
/* XXXXXXX   XXXXXXX   XXXXXXX   XXXXXXX   XXXXXXX   */  





/* XXXXXXX   XXXXXXX   XXXXXXX   XXXXXXX   XXXXXXX   */
@media screen and (max-width:850px) { 
.mobil-cart-count { 
xbackground-color: var(--primary-color);
color: #000000; /* İCON YANINDA TEXT RENKLERİ   */
} }

@media screen and (min-width:850px) { 
.mobil-cart-count { 
display: none;
} }
/* XXXXXXX   XXXXXXX   XXXXXXX   XXXXXXX   XXXXXXX   */  








/* XXXXXXX   XXXXXXX   XXXXXXX   XXXXXXX   XXXXXXX   */
@media screen and (max-width:850px) { 
.cart-count { 
    width: 18px;
    height: 18px;
    font-size: 9px;
    top: -5px;
    right: -2px;
} }

@media screen and (min-width:850px) { 
.cart-count { 
    position: absolute;
    top: -6px;
    right: -6px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
    padding: 10px; /* SONRADAN EKLEDİM */
    text-decoration: none;
} }
/* XXXXXXX   XXXXXXX   XXXXXXX   XXXXXXX   XXXXXXX   */  









/* XXXXXXX   XXXXXXX   XXXXXXX   XXXXXXX   XXXXXXX   */
@media screen and (max-width:850px) { 
.search-genel { 
    Xdisplay: flex;
    justify-content: center;
    align-items: center;
    padding: 10px 0px;
    background-color: white;
    xpadding-bottom: -200px;
    border: 1px solid var(--border-color);
    xxborder: 1px solid #cccccc; 
} }

@media screen and (min-width:850px) { 
.search-genel { 
    Xdisplay: flex;
    justify-content: center;
    align-items: center;
    padding: 0px 10px;
    background-color: white;
    xpadding-bottom: 50px;
} }
/* XXXXXXX   XXXXXXX   XXXXXXX   XXXXXXX   XXXXXXX   */    
       



/* XXXXXXX   XXXXXXX   XXXXXXX   XXXXXXX   XXXXXXX   */
@media screen and (max-width:850px) { 
.search-form { 
    display: flex;
    border: 1px solid var(--border-color);
    border-radius: 25px;
    overflow: hidden;
    min-width: 260px;
    width: min(260px, 0vw);
    margin: 0 auto; /* Eğer parent flex değilse bu yeterli olabilir */
    align-items: center;
    justify-content: center;
} }

@media screen and (min-width:850px) { 
.search-form { 
    display: flex;
    border: 1px solid var(--border-color);
    border-radius: 25px;
    overflow: hidden;
    min-width: 1000px;
    width: min(1700px, 90vw);
    align-items: center;
    justify-content: center;
    margin: 0 auto; /* Eğer parent flex değilse bu yeterli olabilir */
} }
/* XXXXXXX   XXXXXXX   XXXXXXX   XXXXXXX   XXXXXXX   */   
    
    
    
    
    
/* XXXXXXX   XXXXXXX   XXXXXXX   XXXXXXX   XXXXXXX   */
@media screen and (max-width:850px) { 
.search-input {
    font-size: 13px;
    padding: 6px 10px;
    border: none;
    outline: none;
} }

@media screen and (min-width:850px) { 
.search-input { 
    flex-grow: 1;
    padding: 20px 12px;
    border: none;
    outline: none;
    font-size: 17px;
} }
/* XXXXXXX   XXXXXXX   XXXXXXX   XXXXXXX   XXXXXXX   */       
  




/* XXXXXXX   XXXXXXX   XXXXXXX   XXXXXXX   XXXXXXX   */
@media screen and (max-width:850px) { 
.search-button { 
    padding: 10px 17px; /* buton boyutu */
    font-size: 12px;
    color: white;
    border: none;
    position: relative;
    right: -17px;
    background-color: var(--primary-color);
} }

@media screen and (min-width:850px) { 
.search-button { 
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 23px 20px;
    cursor: pointer;
    font-size: 19px;
} }
/* XXXXXXX   XXXXXXX   XXXXXXX   XXXXXXX   XXXXXXX   */  



.search-button:hover {    /* MASAÜSTÜ  */  
   background-color: #e65c00;
}





/* XXXXXXX   XXXXXXX   XXXXXXX   XXXXXXX   XXXXXXX   */
@media screen and (max-width:850px) { 
.xxxxxxxxxxxxxsearch-container { 
    flex-grow: 2;
    max-width: 100%;
    margin: 10px 0;
    width: 100%;
} }

@media screen and (min-width:850px) { 
.xxxxxxxxxxxxxsearch-container { 
    max-width: 500px;
    margin: 0 20px;
    width: auto;
} }
/* XXXXXXX   XXXXXXX   XXXXXXX   XXXXXXX   XXXXXXX   */  




/* .logo-img {          */  
/*    height: 30px;     */  
/*    max-width: 140px; */  
/*  }                   */



    /* Alt Navigasyon (Desktop) - Sadece Ana Kategoriler */
    .main-nav {
        background-color: white;
        border-top: 1px solid var(--border-color);
        padding: 20px 0;
        max-width: 100%;
        margin-top: 10px;
    }

    .nav-container {
        display: flex;
        align-items: center;
        max-width: 1200px;
        margin: 0 auto;
        padding: 0 20px;
    }

    .main-category-nav {
        display: flex;
        list-style: none;
        padding: 0;
        margin: 0;
        flex-wrap: wrap;
        gap: 10px;
    }

    .main-category-item {
        position: relative;
        padding: 1px 2px;
        bborder: 1px solid var(--border-color);
        bborder-radius: 20px;
        transition: background-color 0.2s;
        bmin-width: 100px;
        text-align: center;
        font-size: 13px;
    }

    .main-category-item:hover {
        background-color: var(--hover-bg);
    }

    .main-category-link {
        display: flex;
        align-items: center;
        justify-content: center;
        text-decoration: none;
        color: var(--text-color);
        gap: 5px;
        font-weight: 500;
    }

    .main-category-link:hover {
        color: var(--primary-color);
    }

    /* Alt Kategoriler Dropdown (Desktop) */
    .sub-category-dropdown {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 250px;
        background-color: white;
        box-shadow: 0 4px 8px rgba(0,0,0,0.1);
        z-index: 999;
        padding: 12px;
        border: 1px solid var(--border-color);
        border-top: none;
        border-radius: 0 0 8px 8px;
    }

    .main-category-item:hover .sub-category-dropdown {
        display: block;
    }

    .category-dropdown {
        list-style: none;
        padding: 0;
        margin: 0;
    }

    .category-dropdown > li {
        position: relative;
        padding: 6px 0;
        border-bottom: 1px solid var(--border-color);
    }

    .category-dropdown > li:last-child {
        border-bottom: none;
    }

    .category-dropdown a {
        display: flex;
        align-items: center;
        text-decoration: none;
        color: var(--text-color);
        font-size: 12px;
        padding: 4px 8px;
        border-radius: 4px;
    }

    .category-dropdown a:hover {
        background-color: var(--hover-bg);
        color: var(--primary-color);
    }

    .category-dropdown ul {
        display: none;
        list-style: none;
        padding-left: 15px;
        margin: 8px 0 0 0;
    }

    .category-dropdown li:hover > ul {
        display: block;
    }

    .category-dropdown ul ul {
        padding-left: 15px;
    }
    


    /* Mobil Kategori Menüsü */
    .mobile-category-menu {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: white;
        z-index: 1000;
        overflow-y: auto;
        padding: 15px;
        box-sizing: border-box;
    }

    .mobile-category-menu.active {
        display: block;
    }

    .menu-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding-bottom: 12px;
        border-bottom: 1px solid var(--border-color);
        margin-bottom: 15px;
    }

    .menu-header h3 {
        margin: 0;
        font-size: 16px;
    }

    #close-mobile-menu {
        background: none;
        border: none;
        font-size: 24px;
        cursor: pointer;
    }

    /* Mobil Kategoriler Listesi */
    .mobile-category-list {
        list-style: none;
        padding: 0;
        margin: 0;
    }

    .mobile-main-category {
        margin: 8px 0;
        border-bottom: 1px solid var(--border-color);
    }

    .mobile-main-category:last-child {
        border-bottom: none;
    }

    .mobile-main-category-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 8px 0;
        cursor: pointer;
    }

    .mobile-main-category-header a {
        display: flex;
        align-items: center;
        text-decoration: none;
        color: var(--text-color);
        font-size: 13px;
        gap: 5px;
    }

    .mobile-main-category-header .toggle-sub {
        font-size: 16px;
        font-weight: bold;
        color: var(--text-color);
        background-color: var(--hover-bg);
        width: 20px;
        height: 20px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
    }

    .mobile-sub-category-list {
        display: none;
        list-style: none;
        padding: 0 0 0 15px;
        margin: 8px 0 0 0;
    }

    .mobile-sub-category-list.active {
        display: block;
    }

    .mobile-sub-category-list li {
        margin: 4px 0;
    }

    .mobile-sub-category-list a {
        display: flex;
        align-items: center;
        text-decoration: none;
        color: var(--text-color);
        font-size: 12px;
        gap: 5px;
    }

    .mobile-sub-category-list a:hover {
        color: var(--primary-color);
    }
    
    
    
    

    /* Responsive Tasarım  (BURASI SADECE PC */
    @media (min-width: 768px) {
       
        /* Mobil Elementleri Gizle */
        .mobile-menu-toggle {
            display: none;
        }

        /* Hesap & Sepet Metin Gösterimi */
        .desktop-only {
            display: inline;
            box-shadow: 0 2px 5px rgba(0,0,0,0.1);
        }

        /* Alt Navigasyon Göster */
        .main-nav {
            display: block;
        }

        /* Mobil Menü Gizle */
        .mobile-category-menu {
            display: none !important;
        }

        /* Ana Kategoriler Hover Etkisi */
        .main-category-item:hover .sub-category-dropdown {
            display: block;
        }


    }




    @media (max-width: 767px) {
        /* Masaüstü Elementlerini Gizle */
        .desktop-only {
            display: none;
        }

        .main-nav {
            display: none;
        }

        /* Arama Çubuğu Genişliği */
        .search-container {
            max-width: 100%;
            margin: 10px 0;
            width: 100%;
            
        }

        /* Mobile Menu Toggle Göster */
        .mobile-menu-toggle {
            display: block;
        }

        /* Kategori Listesi için daha küçük yazı */
        .mobile-main-category-header a {
            font-size: 12px;
        }

        .mobile-sub-category-list a {
            font-size: 11px;
        }

 
    }