/* Kategori Paneli - Eski Tasarım */
.tumKategorilerPanel {
    display: none;
    position: absolute;
    background: #fff;
    z-index: 221;
    width: 100%;
    top: 170px;
    border-top: 1px solid #ececec;
    padding: 20px 0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    max-height: 600px;
    overflow-y: auto;
}

.tumKategorilerPanel.open {
    display: block;
}

.tumKategorilerDiv {
    z-index: 9999;
}

/* Kategori Grid */
.tumKategorilerPanel .category-list {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -10px;
}

.tumKategorilerPanel .AllCategoryDiv {
    padding: 10px;
}

.tumKategorilerPanel .CategoryImage {
    height: 125px;
    border-radius: 5px;
    overflow: hidden;
    position: relative;
    background-size: cover !important;
    background-position: center !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    cursor: pointer;
}

.tumKategorilerPanel .CategoryImage:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
    filter: brightness(1.1);
}

.tumKategorilerPanel .CategoryImage img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s ease;
}

.tumKategorilerPanel .CategoryImage:hover img {
    transform: scale(1.05);
}

.tumKategorilerPanel .CategoryImage span.KategoriAdiText {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(10px);
    color: #fff;
    text-align: center;
    padding: 10px 5px;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.tumKategorilerPanel a {
    text-decoration: none;
    color: inherit;
}

.tumKategorilerPanel a:hover {
    text-decoration: none;
}

/* Dark Theme Support */
.dark-theme .tumKategorilerPanel {
    background: #25273a;
    border-color: #25273a;
    color: #d9dae9;
}

.dark-theme .tumKategorilerPanel .CategoryImage {
    box-shadow: 0 2px 5px 0 rgb(37 39 58);
    background-color: #323448 !important;
}

.dark-theme .tumKategorilerPanel .CategoryImage span.KategoriAdiText {
    color: #d7d8e6;
    background: rgba(50, 52, 72, 0.9);
}

/* Responsive */
@media only screen and (max-width: 768px) {
    .tumKategorilerPanel .col-xs-6 {
        width: 50%;
    }
    
    .tumKategorilerPanel .CategoryImage {
        height: 110px;
    }
}

@media (min-width: 768px) and (max-width: 1025px) {
    .tumKategorilerPanel .col-sm-3 {
        width: 33.3333%;
    }
    
    .tumKategorilerPanel .CategoryImage {
        height: 120px;
    }
}

@media (min-width: 1026px) {
    .tumKategorilerPanel .col-sm-3 {
        width: 25%;
    }
}

/* Scrollbar Styling */
.tumKategorilerPanel::-webkit-scrollbar {
    width: 8px;
}

.tumKategorilerPanel::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.tumKategorilerPanel::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 4px;
}

.tumKategorilerPanel::-webkit-scrollbar-thumb:hover {
    background: #555;
}

.dark-theme .tumKategorilerPanel::-webkit-scrollbar-track {
    background: #1a1c2e;
}

.dark-theme .tumKategorilerPanel::-webkit-scrollbar-thumb {
    background: #4a4c5e;
}

/* Not Found Message */
.notCategoryShowing {
    text-align: center;
    padding: 40px 20px;
    color: #999;
    font-size: 16px;
}

/* Navbar Menu */
nav.navbar.navbar-epincimm li > span:not(.Wallet) {
    padding: 10px 15px;
    padding-top: 15px;
    padding-bottom: 15px;
    line-height: 20px;
    position: relative;
    display: block;
}

nav.navbar.navbar-epincimm li > span:not(.Wallet) i {
    margin-right: 7px;
}


/* Desktop'ta Hesabım menüsünü göster, mobilde gizle */
@media (min-width: 769px) {
    .Hesabim.hidden-sm.hidden-xs {
        display: block !important;
    }
}

@media (max-width: 768px) {
    .Hesabim.hidden-sm.hidden-xs {
        display: none !important;
    }
}
