/* ==========================================================================
   GENEL FOOTER MOBİL GÖRÜNÜM AYARLARI
   ========================================================================== */
@media (max-width: 992px) {
    html, body { 
        max-width: 100vw; 
        overflow-x: hidden; 
    }
    body { 
        padding-bottom: 0 !important; 
    }
    footer { 
        padding-bottom: 110px !important; 
        width: 100%; 
        max-width: 100vw; 
        box-sizing: border-box; 
        overflow-x: hidden; 
    }
}

/* ==========================================================================
   MOBİL ALT NAVBAR (MAVİDEN KIRMIZIYA ZORLAMA KODLARI)
   ========================================================================== */
.mobile-bottom-nav .menu-item-mobile.active i,
.mobile-bottom-nav .menu-item-mobile.active span,
.mobile-bottom-nav .menu-item-mobile:hover i,
.mobile-bottom-nav .menu-item-mobile:hover span {
    color: #a6030c !important;
}

/* Mobil Alt Navbar Ortadaki Sepet/Arama Büyük Butonu */
.mobile-bottom-nav .search-button-mobile {
    background: linear-gradient(to bottom, #a6030c, #7a0208) !important;
    box-shadow: 0 4px 15px rgba(166, 3, 12, 0.4) !important;
}

/* Olası Mavi Rozetleri (Badge) Kırmızı Yapma */
.mobile-cart-badge {
    background-color: #dc2626 !important; /* Kırmızı uyarı rengi */
    color: #ffffff !important;
}

/* ==========================================================================
   ÖĞRENCİ PANELİ DIŞI (PUBLIC) MOBİL YÖNLENDİRME MENÜSÜ
   ========================================================================== */
.student-mobile-nav-public { 
    display: none !important; 
    position: fixed; 
    bottom: 0; 
    left: 0; 
    right: 0; 
    width: 100% !important; 
    background: #fff; 
    border-top: 1px solid #eee; 
    z-index: 9999; 
    justify-content: space-around; 
    align-items: center; 
    padding: 10px 0; 
    padding-bottom: calc(10px + env(safe-area-inset-bottom)); 
    box-shadow: 0 -2px 10px rgba(0,0,0,0.05); 
    box-sizing: border-box; 
    margin: 0; 
}
.student-mobile-nav-public a { 
    display: flex; 
    flex-direction: column; 
    align-items: center; 
    color: #999; 
    text-decoration: none; 
    font-size: 11px; 
    gap: 4px; 
    transition: color 0.3s; 
}
.student-mobile-nav-public a:hover { 
    color: #a6030c; 
}
.student-mobile-nav-public a i { 
    font-size: 20px; 
}

@media (max-width: 992px) { 
    .student-mobile-nav-public { 
        display: flex !important; 
    } 
    body { 
        padding-bottom: 80px !important; 
    } 
}

/* ==========================================================================
   MÜŞTERİ HİZMETLERİ / WHATSAPP DESTEK MODALI
   ========================================================================== */
:root {
    --mh-btn-color-glow-start: rgba(37, 211, 102, 0.7); /* Varsayılan WP Yeşili Glow */
    --mh-btn-color-glow-end: rgba(37, 211, 102, 0);
}

@keyframes supportGlow {
    0% { box-shadow: -0px 0 0 0 var(--mh-btn-color-glow-start); }
    70% { box-shadow: -0px 0 0 15px var(--mh-btn-color-glow-end); }
    100% { box-shadow: -0px 0 0 0 var(--mh-btn-color-glow-end); }
}

.support-modal-overlay {
    perspective: 1000px;
}

.support-modal-content {
    transform: rotateY(-90deg);
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.support-modal-overlay.active {
    opacity: 1; 
    pointer-events: auto;
}

.support-modal-overlay.active .support-modal-content {
    transform: rotateY(0deg);
    opacity: 1;
}