/* ============================================
   COMMAND BAR (Navigation)
============================================ */
.command-bar {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0;
    background: rgba(42, 42, 42, 0.95);
    backdrop-filter: blur(10px);
    padding: 0;
    z-index: 1000;
    border: 1px solid rgba(240, 240, 240, 0.2);
}

.command-btn {
    padding: 18px 30px;
    background: transparent;
    color: var(--signal-white);
    border: none;
    border-right: 1px solid rgba(240, 240, 240, 0.2);
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    cursor: pointer;
    transition: all 0.2s ease;
}

.command-btn:last-child {
    border-right: none;
}

.command-btn:hover,
.command-btn.active {
    background: var(--signal-white);
    color: var(--void-black);
}

.cart-count {
    display: inline-block;
    margin-left: 5px;
    font-weight: 900;
}
/* ============================================
   COMMAND BAR (Navigation)
============================================ */
.command-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;           /* Penuh layar di HP */
    height: 54px;          /* Tinggi sinkron dengan tombol Buy */
    display: flex;
    justify-content: center;
    align-items: stretch;
    background: rgba(42, 42, 42, 0.95);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(240, 240, 240, 0.2);
    z-index: 1000;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1); /* Animasi halus saat resize */
    transform: none;
    margin: 0;
}

.command-btn {
    flex: 1;               /* Membagi rata lebar layar (33% each) */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    background: transparent;
    color: var(--signal-white);
    border: none;
    border-right: 1px solid rgba(240, 240, 240, 0.2); /* Garis pemisah antar tombol */
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    cursor: pointer;
    transition: all 0.2s ease;
}

.command-btn:last-child {
    border-right: none;
}

.command-btn:hover,
.command-btn.active {
    background: var(--signal-white);
    color: var(--void-black);
}

.cart-count {
    display: inline-block;
    margin-left: 5px;
    font-weight: 900;
}


/* ============================================
   RESPONSIVE TWEAKS
============================================ */
/* Untuk Tablet/Desktop, jika ingin tombol tidak terlalu lebar */
@media (min-width: 768px) {
    .command-bar {
        width: 480px; /* Lebar fix agar rapi */
        left: 50%;
        /* Aktifkan geser tengah HANYA di desktop */
        transform: translateX(-50%) !important; 
        bottom: 30px;
        border: 1px solid rgba(240, 240, 240, 0.2);
        background: rgba(5, 5, 5, 0.9);
        box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    }
    
    .command-btn {
        flex: 1;
        font-size: 0.8rem;
    }
}