/* ==========================================
   MOBİL TASARIM - FUTURE REDESIGN
   Tüm stiller sadece mobilde aktif olur.
   Desktop tasarımını ETKİLEMEZ.
   ========================================== */

/* ============ MOBİL CSS DEĞİŞKENLERİ ============ */
:root {
    --mobile-header-bg: #080d16;
    --mobile-header-row2-bg: #0f172a;
    --mobile-menu-left-bg: #0b111e;
    --mobile-menu-right-bg: #0f172a;
    --mobile-menu-header-bg: #080d16;
    --mobile-cat-icon-bg: #f59e0b;
    --mobile-cat-icon-active-bg: #5271ff;
    --mobile-cat-text: #94a3b8;
    --mobile-cat-text-active: #ffffff;
    --mobile-subcat-bg: #1e293b;
    --mobile-subcat-accent: #5271ff;
    --mobile-bottom-nav-bg: #0b111e;
    --mobile-bottom-nav-text: #64748b;
    --mobile-bottom-nav-active: #5271ff;
    --mobile-cart-btn-bg: #5271ff;
    --mobile-profile-bg: #0f172a;
    --mobile-profile-gradient-1: #5271ff;
    --mobile-profile-gradient-2: #9352ff;
    --mobile-overlay-bg: rgba(0, 0, 0, 0.7);
    --mobile-bakiye-green: #10b981;
    --mobile-ilan-red: #ef4444;
    --mobile-search-bg: #1e293b;
    --mobile-border-color: #1e293b;
}

/* Dark theme overrides for mobile - inherits from existing data-theme */
[data-theme="light"] {
    --mobile-header-bg: #f8fafc;
    --mobile-header-row2-bg: #f1f5f9;
    --mobile-bottom-nav-bg: #f8fafc;
    --mobile-menu-left-bg: #f1f5f9;
    --mobile-menu-right-bg: #f8fafc;
    --mobile-profile-bg: #f8fafc;
    --mobile-menu-header-bg: #f8fafc;
    --mobile-cat-text: #64748b;
    --mobile-cat-text-active: #0f172a;
    --mobile-subcat-bg: #f1f5f9;
}

/* ============ MOBİL ELEMENTLER - DESKTOP'TA GİZLİ ============ */
.mobile-header,
.mobile-menu-overlay,
.mobile-profile-overlay,
.mobile-notif-overlay,
.mobile-bottom-nav {
    display: none !important;
}

/* ============ MOBİL MEDYA SORGUSU ============ */
@media (max-width: 991.98px) {

    /* ---- Desktop header'ı gizle ---- */
    .fp-top-bar,
    .fp-header,
    .fp-navbar,
    .fp-mobile-bar {
        display: none !important;
    }

    /* ---- Mobil header'ı göster ---- */
    .mobile-header {
        display: block !important;
        background: var(--mobile-header-bg);
        position: sticky !important;
        top: 0 !important;
        left: 0;
        right: 0;
        width: 100%;
        z-index: 10020;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        transform: translateZ(0);
        will-change: transform;
    }

    /* ========== ROW 1: Hamburger | Logo | Sepet ========== */
    .mobile-header-row1 {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 12px 16px;
    }

    .mobile-hamburger-btn {
        background: none;
        border: 1px solid rgba(255, 255, 255, 0.1);
        color: var(--mobile-cat-text-active);
        width: 40px;
        height: 40px;
        border-radius: 8px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 20px;
        cursor: pointer;
        transition: background 0.2s ease;
    }

    .mobile-hamburger-btn:hover,
    .mobile-hamburger-btn:active {
        background: rgba(255, 255, 255, 0.05);
    }

    .mobile-logo {
        display: flex;
        align-items: center;
        text-decoration: none !important;
    }

    .mobile-logo img {
        max-height: 44px;
        width: auto;
    }

    .mobile-cart-btn {
        position: relative;
        color: var(--mobile-cat-text-active) !important;
        text-decoration: none !important;
        font-size: 22px;
        width: 40px;
        height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .mobile-cart-badge {
        position: absolute;
        top: 0;
        right: -2px;
        background: var(--mobile-cart-btn-bg);
        color: #fff;
        font-size: 10px;
        font-weight: 700;
        width: 18px;
        height: 18px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        box-shadow: 0 2px 5px rgba(82, 113, 255, 0.4);
    }

    /* ========== ROW 2: Bakiye | Chat | Bildirim | Profil | Bakiye ========== */
    .mobile-header-row2 {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 8px 16px 12px;
        border-top: 1px solid rgba(255, 255, 255, 0.04);
        background: var(--mobile-header-row2-bg);
    }

    .mobile-header-row2-left {
        display: flex;
        align-items: center;
        gap: 8px;
    }

    .mobile-bakiye-btn {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        background: var(--mobile-bakiye-green);
        color: #fff !important;
        padding: 6px 14px;
        border-radius: 20px;
        font-size: 12px;
        font-weight: 600;
        text-decoration: none !important;
        white-space: nowrap;
    }

    .mobile-bakiye-btn img {
        width: 16px;
        height: 16px;
    }

    .mobile-ilan-btn {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        background: var(--mobile-ilan-red);
        color: #fff !important;
        padding: 6px 14px;
        border-radius: 20px;
        font-size: 12px;
        font-weight: 600;
        text-decoration: none !important;
        white-space: nowrap;
    }

    .mobile-header-row2-right {
        display: flex;
        align-items: center;
        gap: 10px;
    }

    .mobile-action-icon {
        color: var(--mobile-cat-text) !important;
        font-size: 20px;
        text-decoration: none !important;
        position: relative;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 32px;
        height: 32px;
    }

    .mobile-action-icon:hover {
        color: var(--mobile-cat-text-active) !important;
    }

    .mobile-notif-badge {
        position: absolute;
        top: -3px;
        right: -5px;
        background: #ef4444;
        color: #fff;
        font-size: 9px;
        font-weight: 700;
        width: 16px;
        height: 16px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .mobile-profile-trigger {
        display: block;
        cursor: pointer;
    }

    .mobile-profile-trigger img {
        width: 32px;
        height: 32px;
        border-radius: 50%;
        object-fit: cover;
        border: 2px solid rgba(82, 113, 255, 0.4);
    }

    .mobile-balance-amount {
        color: var(--mobile-cat-text-active);
        font-size: 13px;
        font-weight: 700;
        white-space: nowrap;
    }

    .mobile-login-btn {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        background: var(--mobile-cart-btn-bg);
        color: #fff !important;
        padding: 8px 20px;
        border-radius: 8px;
        font-size: 13px;
        font-weight: 600;
        text-decoration: none !important;
        margin-left: auto;
    }

    /* ==========================================
       HAMBURGER MENÜ - 2 KATMANLI
       ========================================== */
    .mobile-menu-overlay {
        display: block !important;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: 10080;
        visibility: hidden;
        opacity: 0;
        transition: visibility 0.3s, opacity 0.3s ease;
    }

    .mobile-menu-overlay.active {
        visibility: visible;
        opacity: 1;
    }

    .mobile-menu-backdrop {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: var(--mobile-overlay-bg);
        backdrop-filter: blur(4px);
    }

    .mobile-menu-container {
        position: relative;
        width: 100%;
        max-width: 480px;
        height: 100%;
        display: flex;
        flex-direction: column;
        transform: translateX(-100%);
        transition: transform 0.35s cubic-bezier(0.22, 0.61, 0.36, 1);
        z-index: 2;
    }

    .mobile-menu-overlay.active .mobile-menu-container {
        transform: translateX(0);
    }

    /* Menü Header */
    .mobile-menu-top {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 14px 16px;
        background: var(--mobile-menu-header-bg);
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        flex-shrink: 0;
    }

    .mobile-menu-close {
        background: rgba(255, 255, 255, 0.05);
        border: 1px solid rgba(255, 255, 255, 0.1);
        color: var(--mobile-cat-text-active);
        width: 36px;
        height: 36px;
        border-radius: 8px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 18px;
        cursor: pointer;
        transition: opacity 0.2s;
    }

    .mobile-menu-close:hover {
        opacity: 0.8;
    }

    .mobile-menu-top-logo img {
        max-height: 32px;
        width: auto;
    }

    .mobile-menu-theme-toggle {
        background: none;
        border: none;
        color: var(--mobile-cat-text);
        font-size: 20px;
        cursor: pointer;
        width: 36px;
        height: 36px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 8px;
        transition: color 0.2s, background 0.2s;
    }

    .mobile-menu-theme-toggle:hover {
        color: var(--mobile-cat-text-active);
        background: rgba(255, 255, 255, 0.05);
    }

    /* Menü İçerik: Sol + Sağ Panel */
    .mobile-menu-body {
        display: flex;
        flex: 1;
        overflow: hidden;
    }

    /* --- Sol Panel: Kategoriler --- */
    .mobile-menu-left {
        width: 80px;
        min-width: 80px;
        background: var(--mobile-menu-left-bg);
        overflow-y: auto;
        padding: 8px 0;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 2px;
        border-right: 1px solid rgba(255, 255, 255, 0.04);
    }

    .mobile-menu-left::-webkit-scrollbar {
        width: 3px;
    }

    .mobile-menu-left::-webkit-scrollbar-thumb {
        background: rgba(255, 255, 255, 0.05);
        border-radius: 2px;
    }

    .mobile-cat-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 4px;
        padding: 10px 6px;
        cursor: pointer;
        text-align: center;
        width: 100%;
        transition: background 0.2s ease;
        text-decoration: none !important;
    }

    .mobile-cat-item:hover {
        background: rgba(255, 255, 255, 0.02);
    }

    .mobile-cat-item.active {
        background: rgba(82, 113, 255, 0.08);
        border-left: 3px solid var(--mobile-cat-icon-active-bg);
    }

    .mobile-cat-icon {
        width: 42px;
        height: 42px;
        border-radius: 12px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 18px;
        overflow: hidden;
        transition: transform 0.2s ease;
        flex-shrink: 0;
    }

    .mobile-cat-item.active .mobile-cat-icon {
        transform: scale(1.05);
    }

    .mobile-cat-icon.icon-kategoriler {
        background: var(--mobile-cat-icon-active-bg);
        color: #ffffff;
    }

    .mobile-cat-icon.icon-default {
        background: var(--mobile-cat-icon-bg);
        color: #ffffff;
    }

    .mobile-cat-icon img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 12px;
    }

    .mobile-cat-name {
        font-size: 10px;
        font-weight: 600;
        color: var(--mobile-cat-text);
        line-height: 1.2;
        max-width: 70px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        transition: color 0.2s;
    }

    .mobile-cat-item.active .mobile-cat-name {
        color: var(--mobile-cat-text-active);
    }

    /* --- Sağ Panel: Alt Kategoriler --- */
    .mobile-menu-right {
        flex: 1;
        background: var(--mobile-menu-right-bg);
        overflow-y: auto;
        display: flex;
        flex-direction: column;
    }

    .mobile-menu-right::-webkit-scrollbar {
        width: 4px;
    }

    .mobile-menu-right::-webkit-scrollbar-thumb {
        background: rgba(255, 255, 255, 0.05);
        border-radius: 2px;
    }

    /* Arama Kutusu */
    .mobile-menu-search {
        padding: 16px 16px 8px;
        flex-shrink: 0;
    }

    .mobile-menu-search-input {
        width: 100%;
        padding: 10px 16px 10px 38px;
        background: var(--mobile-search-bg);
        border: 1px solid rgba(255, 255, 255, 0.05);
        border-radius: 8px;
        color: #e5e5e5;
        font-size: 13px;
        outline: none;
        transition: border-color 0.2s;
    }

    .mobile-menu-search-input:focus {
        border-color: var(--mobile-cat-icon-active-bg);
    }

    .mobile-menu-search-input::placeholder {
        color: #64748b;
    }

    .mobile-menu-search-wrapper {
        position: relative;
    }

    .mobile-menu-search-wrapper i {
        position: absolute;
        left: 12px;
        top: 50%;
        transform: translateY(-50%);
        color: #64748b;
        font-size: 14px;
    }

    /* Alt Kategori Panelleri */
    .mobile-subcat-panel {
        display: none;
        padding: 12px 16px;
        flex: 1;
    }

    .mobile-subcat-panel.active {
        display: block;
        animation: mobileFadeIn 0.25s ease;
    }

    .mobile-search-no-results {
        padding: 24px;
        text-align: center;
        color: #64748b;
        font-size: 13px;
        font-weight: 600;
    }

    @keyframes mobileFadeIn {
        from { opacity: 0; transform: translateX(10px); }
        to { opacity: 1; transform: translateX(0); }
    }

    .mobile-subcat-title {
        font-size: 15px;
        font-weight: 700;
        color: #ffffff;
        margin-bottom: 12px;
        padding-left: 4px;
    }

    .mobile-subcat-item {
        display: flex;
        align-items: center;
        gap: 12px;
        padding: 12px 14px;
        margin-bottom: 8px;
        background: var(--mobile-subcat-bg);
        border-radius: 10px;
        text-decoration: none !important;
        color: #cbd5e1 !important;
        font-size: 14px;
        font-weight: 500;
        transition: background 0.2s ease, transform 0.15s ease;
    }

    .mobile-subcat-item:hover {
        background: rgba(82, 113, 255, 0.1);
        transform: translateX(3px);
    }

    .mobile-subcat-icon {
        width: 38px;
        height: 38px;
        border-radius: 50%;
        background: rgba(82, 113, 255, 0.1);
        display: flex;
        align-items: center;
        justify-content: center;
        overflow: hidden;
        flex-shrink: 0;
    }

    .mobile-subcat-icon img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 50%;
    }

    .mobile-subcat-icon i {
        color: var(--mobile-cat-icon-active-bg);
        font-size: 16px;
    }

    /* Menü Footer: Mağazalar, Blog, Yayıncılar */
    .mobile-menu-footer {
        display: flex;
        border-top: 1px solid rgba(255, 255, 255, 0.05);
        background: var(--mobile-menu-left-bg);
        flex-shrink: 0;
    }

    .mobile-menu-footer-item {
        flex: 1;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 4px;
        padding: 14px 8px;
        color: var(--mobile-cat-text) !important;
        text-decoration: none !important;
        font-size: 10px;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        transition: color 0.2s, background 0.2s;
        border-right: 1px solid rgba(255, 255, 255, 0.04);
    }

    .mobile-menu-footer-item:last-child {
        border-right: none;
    }

    .mobile-menu-footer-item:hover {
        color: var(--mobile-cat-text-active) !important;
        background: rgba(255, 255, 255, 0.02);
    }

    .mobile-menu-footer-item i {
        font-size: 18px;
    }

    /* ==========================================
       PROFİL DRAWER
       ========================================== */
    .mobile-profile-overlay {
        display: block !important;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: 10080;
        visibility: hidden;
        opacity: 0;
        transition: visibility 0.3s, opacity 0.3s ease;
    }

    .mobile-profile-overlay.active {
        visibility: visible;
        opacity: 1;
    }

    .mobile-profile-backdrop {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: var(--mobile-overlay-bg);
        backdrop-filter: blur(4px);
    }

    .mobile-profile-drawer {
        position: absolute;
        top: 0;
        right: 0;
        width: 320px;
        max-width: 85vw;
        height: 100%;
        background: var(--mobile-profile-bg);
        overflow-y: auto;
        transform: translateX(100%);
        transition: transform 0.35s cubic-bezier(0.22, 0.61, 0.36, 1);
        z-index: 2;
        display: flex;
        flex-direction: column;
    }

    .mobile-profile-overlay.active .mobile-profile-drawer {
        transform: translateX(0);
    }

    .mobile-profile-drawer::-webkit-scrollbar {
        width: 4px;
    }

    .mobile-profile-drawer::-webkit-scrollbar-thumb {
        background: rgba(255, 255, 255, 0.05);
        border-radius: 2px;
    }

    /* Profil Üst Kısım */
    .mobile-profile-header {
        padding: 30px 24px 20px;
        background: linear-gradient(135deg, var(--mobile-profile-gradient-1), var(--mobile-profile-gradient-2));
        border-radius: 0 0 24px 24px;
        position: relative;
    }

    .mobile-profile-close {
        position: absolute;
        top: 16px;
        right: 16px;
        background: rgba(255, 255, 255, 0.15);
        border: none;
        color: #ffffff;
        width: 32px;
        height: 32px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 16px;
        cursor: pointer;
        transition: background 0.2s;
    }

    .mobile-profile-close:hover {
        background: rgba(255, 255, 255, 0.25);
    }

    .mobile-profile-info {
        display: flex;
        align-items: center;
        gap: 14px;
        margin-bottom: 16px;
    }

    .mobile-profile-avatar {
        width: 56px;
        height: 56px;
        border-radius: 50%;
        object-fit: cover;
        border: 3px solid rgba(255, 255, 255, 0.2);
    }

    .mobile-profile-name {
        color: #ffffff;
        font-size: 16px;
        font-weight: 700;
        margin: 0;
    }

    .mobile-profile-subtitle {
        color: rgba(255, 255, 255, 0.8);
        font-size: 12px;
        margin: 0;
    }

    .mobile-profile-balance-section {
        margin-top: 4px;
    }

    .mobile-profile-balance-label {
        color: rgba(255, 255, 255, 0.7);
        font-size: 11px;
        display: block;
        margin-bottom: 2px;
    }

    .mobile-profile-balance-amount {
        color: #ffffff;
        font-size: 22px;
        font-weight: 800;
        margin: 0;
    }

    .mobile-profile-topup-btn {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        background: #ffffff;
        color: var(--mobile-profile-gradient-2) !important;
        padding: 10px 24px;
        border-radius: 24px;
        font-size: 14px;
        font-weight: 700;
        text-decoration: none !important;
        margin-top: 12px;
        transition: opacity 0.2s, transform 0.2s;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    }

    .mobile-profile-topup-btn:hover {
        opacity: 0.95;
        transform: scale(1.02);
    }

    /* Profil Menü Linkleri */
    .mobile-profile-menu {
        padding: 16px 0;
        flex: 1;
    }

    .mobile-profile-menu-item {
        display: flex;
        align-items: center;
        gap: 14px;
        padding: 14px 24px;
        color: var(--mobile-cat-text) !important;
        text-decoration: none !important;
        font-size: 14px;
        font-weight: 600;
        transition: background 0.2s, color 0.2s;
    }

    .mobile-profile-menu-item:hover {
        background: rgba(255, 255, 255, 0.02);
        color: var(--mobile-cat-text-active) !important;
    }

    .mobile-profile-menu-item i {
        width: 20px;
        font-size: 18px;
        text-align: center;
        color: var(--mobile-cat-text);
    }

    .mobile-profile-menu-item:hover i {
        color: var(--mobile-cat-text-active);
    }

    .mobile-profile-menu-item.text-danger {
        color: #ef4444 !important;
    }

    .mobile-profile-menu-item.text-danger i {
        color: #ef4444 !important;
    }

    .mobile-profile-menu-item.text-success {
        color: #10b981 !important;
    }

    .mobile-profile-menu-item.text-success i {
        color: #10b981 !important;
    }

    .mobile-profile-divider {
        height: 1px;
        background: rgba(255, 255, 255, 0.04);
        margin: 4px 24px;
    }

    /* ==========================================
       BOTTOM NAVIGATION BAR
       ========================================== */
    .mobile-bottom-nav {
        display: flex !important;
        position: fixed !important;
        top: auto !important;
        right: 0 !important;
        bottom: 0 !important;
        left: 0 !important;
        width: 100%;
        max-width: 100vw;
        min-height: 66px;
        background: var(--mobile-bottom-nav-bg);
        z-index: 10030;
        padding: 0;
        padding-bottom: env(safe-area-inset-bottom, 0);
        border-top: 1px solid rgba(255, 255, 255, 0.04);
        box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.4);
        transform: translateZ(0);
        will-change: transform;
    }

    .mobile-nav-item {
        flex: 1;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 3px;
        padding: 8px 4px 10px;
        color: var(--mobile-bottom-nav-text) !important;
        text-decoration: none !important;
        font-size: 10px;
        font-weight: 700;
        transition: color 0.2s;
        position: relative;
    }

    .mobile-nav-item:hover,
    .mobile-nav-item.active {
        color: var(--mobile-bottom-nav-active) !important;
    }

    .mobile-nav-item i {
        font-size: 20px;
        transition: transform 0.2s;
    }

    .mobile-nav-item.active i {
        transform: scale(1.1);
    }

    .mobile-nav-item span {
        line-height: 1;
    }

    /* Sepet butonu - büyük, ortada */
    .mobile-nav-cart {
        position: relative;
        margin-top: -20px;
    }

    .mobile-nav-cart-circle {
        width: 52px;
        height: 52px;
        border-radius: 50%;
        background: var(--mobile-cart-btn-bg);
        display: flex;
        align-items: center;
        justify-content: center;
        box-shadow: 0 4px 15px rgba(82, 113, 255, 0.4);
        transition: transform 0.2s, box-shadow 0.2s;
    }

    .mobile-nav-cart:hover .mobile-nav-cart-circle {
        transform: scale(1.08);
        box-shadow: 0 6px 20px rgba(82, 113, 255, 0.5);
    }

    .mobile-nav-cart-circle i {
        color: #ffffff !important;
        font-size: 22px;
    }

    .mobile-nav-cart span {
        margin-top: 4px;
    }

    /* Profil avatar bottom nav */
    .mobile-nav-avatar {
        width: 24px;
        height: 24px;
        border-radius: 50%;
        object-fit: cover;
        border: 2px solid var(--mobile-bottom-nav-text);
        transition: border-color 0.2s;
    }

    .mobile-nav-item.active .mobile-nav-avatar {
        border-color: var(--mobile-bottom-nav-active);
    }

    /* ==========================================
       GENEL MOBİL AYARLAMALAR
       ========================================== */

    /* Body alt padding (bottom nav için) */
    body {
        padding-bottom: calc(86px + env(safe-area-inset-bottom, 0)) !important;
    }

    /* Scroll lock - menü/drawer açıkken */
    body.mobile-menu-open {
        overflow: hidden !important;
        position: fixed;
        width: 100%;
    }
}

/* ============ Küçük ekran düzenlemeleri ============ */
@media (max-width: 575px) {
    .mobile-header-row2-right {
        gap: 6px !important;
    }

    .mobile-balance-amount {
        font-size: 11px !important;
    }

    .mobile-bakiye-btn {
        padding: 5px 10px !important;
        font-size: 11px !important;
    }

    .mobile-menu-left {
        width: 70px !important;
        min-width: 70px !important;
    }

    .mobile-cat-icon {
        width: 36px !important;
        height: 36px !important;
    }

    .mobile-cat-name {
        font-size: 9px !important;
    }
}

@media (max-width: 374px) {
    .mobile-header-row1 {
        padding: 10px 12px !important;
    }

    .mobile-header-row2 {
        padding: 6px 12px 10px !important;
    }

    .mobile-logo img {
        max-height: 36px;
        font-size: 11px !important;
    }
}

/* ============ EK MOBİL EKLEMELER ============ */
@media (max-width: 991.98px) {
    /* Hide desktop footer */
    .fp-footer {
        display: none !important;
    }

    /* Guest login/register button row */
    .mobile-header-row2-left-guest {
        display: flex;
        align-items: center;
        gap: 10px;
        width: 100%;
    }

    .mobile-guest-btn {
        flex: 1;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 6px;
        padding: 8px 12px;
        border-radius: 20px;
        font-size: 13px;
        font-weight: 600;
        text-decoration: none !important;
        white-space: nowrap;
        transition: all 0.2s ease;
    }

    .mobile-guest-btn.login {
        background: rgba(82, 113, 255, 0.1);
        color: #5271ff !important;
        border: 1px solid rgba(82, 113, 255, 0.2);
    }

    .mobile-guest-btn.login:active {
        background: rgba(82, 113, 255, 0.2);
    }

    .mobile-guest-btn.register {
        background: #5271ff;
        color: #fff !important;
        border: 1px solid #5271ff;
    }

    .mobile-guest-btn.register:active {
        background: #3d58d3;
    }

    /* BİLDİRİM DRAWER */
    .mobile-notif-overlay {
        display: block !important;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: 10080;
        visibility: hidden;
        opacity: 0;
        transition: visibility 0.3s, opacity 0.3s ease;
    }

    .mobile-notif-overlay.active {
        visibility: visible;
        opacity: 1;
    }

    .mobile-notif-backdrop {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: var(--mobile-overlay-bg);
        backdrop-filter: blur(4px);
    }

    .mobile-notif-drawer {
        position: absolute;
        top: 0;
        right: 0;
        width: 320px;
        max-width: 85vw;
        height: 100%;
        background: var(--mobile-profile-bg);
        overflow-y: auto;
        transform: translateX(100%);
        transition: transform 0.35s cubic-bezier(0.22, 0.61, 0.36, 1);
        z-index: 2;
        display: flex;
        flex-direction: column;
    }

    .mobile-notif-overlay.active .mobile-notif-drawer {
        transform: translateX(0);
    }

    .mobile-notif-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 20px 24px 15px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    .mobile-notif-title {
        margin: 0;
        font-size: 18px;
        font-weight: 600;
        color: #fff;
    }

    .mobile-notif-close {
        background: none;
        border: none;
        color: #a0aec0;
        font-size: 24px;
        cursor: pointer;
        padding: 0;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .mobile-notif-body {
        flex: 1;
        overflow-y: auto;
        padding: 15px 20px;
    }

    .mobile-notif-item {
        display: flex;
        gap: 12px;
        padding: 12px;
        border-radius: 12px;
        background: rgba(255, 255, 255, 0.02);
        margin-bottom: 12px;
        text-decoration: none !important;
        color: inherit;
        transition: all 0.2s ease;
        border: 1px solid rgba(255, 255, 255, 0.03);
    }

    .mobile-notif-item:hover, .mobile-notif-item:active {
        background: rgba(255, 255, 255, 0.05);
        border-color: rgba(255, 255, 255, 0.08);
    }

    .mobile-notif-item.new {
        background: rgba(82, 113, 255, 0.08);
        border-color: rgba(82, 113, 255, 0.15);
    }

    .mobile-notif-icon-wrapper {
        width: 40px;
        height: 40px;
        border-radius: 10px;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
    }

    .mobile-notif-icon-wrapper img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 8px;
    }

    .mobile-notif-info {
        flex: 1;
        display: flex;
        flex-direction: column;
        gap: 4px;
    }

    .mobile-notif-item-title {
        font-size: 14px;
        font-weight: 600;
        color: #fff;
    }

    .mobile-notif-item-desc {
        font-size: 12px;
        color: #a0aec0;
        line-height: 1.4;
        margin: 0;
    }

    .mobile-notif-item-date {
        font-size: 10px;
        color: #718096;
        display: flex;
        align-items: center;
        gap: 4px;
        margin-top: 4px;
    }
}
