/* --- CONTAINER UTAMA MOBILE --- */
.site-header {
    background-color: #ffffff;
    border-bottom: 1px solid #ddd;
    height: 60px; /* Tinggi header mobile */
    position: fixed; /* Menempel di atas */
    top: 0;
    left: 0;
    width: 100%;
    z-index: 999;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

/* --- LAYOUT FLEXBOX (Kiri vs Kanan) --- */
.header-mobile-inner {
    display: flex;
    justify-content: space-between; /* Kunci: Logo Kiri, Ikon Kanan */
    align-items: center;
    height: 100%;
    padding: 0 15px;
}

/* --- BAGIAN KIRI: LOGO --- */
.mobile-logo-area {
    display: flex;
    align-items: center;
}

.mobile-logo-area img {
    height: 32px; /* Sesuaikan tinggi logo mobile */
    width: auto;
}

.mobile-logo-area span {
    font-size: 20px;
    font-weight: 900;
    color: #FF6600;
}

/* --- BAGIAN KANAN: ACTION ICONS --- */
.mobile-actions {
    display: flex;
    align-items: center;
    gap: 15px; /* Jarak antara ikon search dan menu */
}

.m-action-btn {
    background: none;
    border: none;
    padding: 5px;
    cursor: pointer;
    color: #333;
    display: flex;
    align-items: center;
    justify-content: center;
}

.m-action-btn svg {
    width: 24px;
    height: 24px;
}

/* --- OVERLAY BACKGROUND (Layar Gelap) --- */
#mobile-overlay {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.5); /* Hitam transparan */
    z-index: 2000; /* Di atas header */
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

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

/* --- PANEL MENU SLIDE --- */
#mobile-slide-menu {
    position: fixed;
    top: 0; 
    left: -100%; /* Sembunyi di kiri layar */
    width: 80%; /* Lebar menu 80% dari layar HP */
    max-width: 300px;
    height: 100vh; /* Tinggi Full Layar */
    background: #ffffff;
    z-index: 2001; /* Harus lebih tinggi dari overlay */
    box-shadow: 2px 0 10px rgba(0,0,0,0.1);
    transition: left 0.3s cubic-bezier(0.77, 0, 0.175, 1); /* Efek Slide Halus */
    display: flex;
    flex-direction: column;
}

/* Kelas ini ditambahkan oleh JS saat tombol diklik */
#mobile-slide-menu.active {
    left: 0; /* Geser masuk ke layar */
}

/* --- BAGIAN DALAM MENU --- */
.slide-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid #eee;
    background: #f9f9f9;
}

.slide-title {
    font-weight: 800;
    font-size: 18px;
    color: #333;
}

#close-mobile-menu {
    background: none; border: none; cursor: pointer; color: #ff0000;
}

/* =========================================
   FIX POSISI MENU MOBILE (GESER KIRI TOTAL)
   ========================================= */

/* 1. Reset area pembungkus (slide-content) */
.slide-content {
    padding: 0 !important;
    margin: 0 !important;
}

/* 2. Reset UL utama agar benar-benar mepet kiri */
.mobile-nav-ul {
    padding-left: 0 !important;  /* Menghilangkan sisa ruang di kiri */
    padding-right: 0 !important;
    margin-left: 0 !important;   /* Memastikan tidak ada margin yang mendorong */
    margin-right: 0 !important;
    list-style: none !important;
    width: 100% !important;
    display: block !important;
}

/* 3. Pastikan LI (Baris Menu) memenuhi lebar */
.mobile-nav-ul li {
    position: relative;
    display: block;
    width: 100%;
    padding: 0 !important;
    margin: 0 !important;
    border-bottom: 1px solid #f2f2f2;
}

/* 4. Link utama (Atur jarak teks dari tepi kiri di sini) */
.mobile-nav-ul li a {
    display: block !important;
    padding: 15px 55px 15px 15px !important; /* 15px adalah jarak teks dari tepi kiri */
    text-align: left !important;
    color: #333;
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
}

/* 5. Tombol Panah (Tetap di pojok kanan) */
.dropdown-toggle-btn {
    position: absolute;
    right: 5px;                 /* Jarak panah dari tepi kanan layar */
    top: 0;
    width: 50px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

/* 6. Submenu (Menjorok secukupnya saja) */
.mobile-nav-ul ul.sub-menu {
    display: none;
    padding: 0 !important;
    margin: 0 !important;
    background: #f9f9f9;
}

.mobile-nav-ul ul.sub-menu li a {
    padding: 12px 20px 12px 30px !important; /* Teks submenu menjorok 30px */
    font-size: 14px;
    border-bottom: none;
}