/* Üst Header */
.mobil-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background-color: white;
    width: 100%;
}
.mobil-header-top {
    display: flex;
    align-items: center;
    padding: 10px;
    background-color: #007782;
    gap: 10px; /* profil ve input arasında boşluk */

}

.profil-foto {
    flex-shrink: 0;
    margin-right: 8px;
}

.profil-foto img {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    object-fit: cover;
}

.profil-foto .guest-icon {
    font-size: 46px;
    color: white;
    cursor: pointer;
}

.mobil-search {
    width: 100%;
    padding: 12px 14px; /* ✅ sadece iç boşluk */
    border: none;
    border-radius: 6px;
    font-size: 14px;
    outline: none;
    background: white;
    color: #333;
}


/* Alt Menü */
.mobil-nav-bar {
    display: flex;
    flex-wrap: wrap; /* ✅ tablet için satıra sığmazsa alt satıra geçsin */
    justify-content: space-around;
    background-color: #f2f2f2;
    padding: 6px 0;
    border-top: 1px solid #ccc;
    height: auto; /* ✅ sabit yükseklik kaldır */
    border-bottom: 1px solid #8b8b8b;
    
}

.badge-circle {
    position: absolute;
    top: -4px;
    right: -6px;
    background-color: red;
    color: white;
    border-radius: 50%;
    font-size: 10px;
    font-weight: bold;
    padding: 2px 5px;
}


.mobil-nav-bar a {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #007782;
    text-decoration: none;
    padding: 6px 0;
    background-color: white;
}

.mobil-nav-bar a i {
    font-size: 27px;
    margin-bottom: 10px;
}

.mobil-nav-bar a span {
    font-size: 16px;
    font-weight: 500;
}

/* Slide Menü */
.mobil-side-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.4);
    z-index: 9999;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

/* Açıldığında görünür ve animasyon çalışır */
.mobil-side-menu.active {
    visibility: visible;
    opacity: 1;
}

.mobil-side-menu .menu-inner {
    width: 75%;
    max-width: 280px;
    background: white;
    height: 100%;
    padding: 20px;
    box-shadow: 2px 0 8px rgba(0,0,0,0.1);
    transform: translateX(-100%);
    transition: transform 0.3s ease;
}

.mobil-side-menu.active .menu-inner {
    transform: translateX(0);
}

/* Sağdan gelen kategori menüsü */
.kategori-slide .kategori-menu-inner {
    transform: translateX(100%);
    transition: transform 0.3s ease;
    margin-left: auto; /* sağa yasla */
}

.kategori-slide.active .kategori-menu-inner {
    transform: translateX(0);
}


@keyframes slideIn {
    from { transform: translateX(-100%); }
    to { transform: translateX(0); }
}




.menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.menu-header button {
    background: transparent;
    border: none;
    font-size: 24px;
    cursor: pointer;
}

.menu-links a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 0;
    font-size: 16px;
    color: #444444;
    text-decoration: none;
    border-bottom: 1px solid #eee;
}


.menu-links a i {
    min-width: 20px;
}

/* Giriş yapılmamışsa ikon */
.guest-icon {
    font-size: 46px;
    color: white;
    display: inline-block;
}

/* Küçük cihazlara uyum */
@media (max-width: 480px) {
.mobil-search {
    width: 100%;
    padding: 12px 14px; /* ✅ sadece iç boşluk */
    border: none;
    border-radius: 6px;
    font-size: 14px;
    outline: none;
    background: white;
    color: #333;
}
.mobil-search-form {
    flex-grow: 1;
}

    .mobil-nav-bar a span {
        font-size: 0.90rem;
         font-family: "DM Sans", sans-serif;
font-weight: normal;
color: #414141;

    }

    .mobil-nav-bar a i {
        font-size: 24px;
    }
}
