/* FIX AGRESSIF - Force tout */

/* Sidebar mobile */
@media (max-width: 768px) {
    .dashboard-sidebar {
        position: fixed !important;
        left: -300px !important;
        top: 0 !important;
        width: 280px !important;
        height: 100vh !important;
        background: white !important;
        z-index: 9999 !important;
        transition: left 0.3s ease !important;
        box-shadow: 2px 0 10px rgba(0,0,0,0.2) !important;
    }
    
    .dashboard-sidebar.mobile-active {
        left: 0 !important;
    }
    
    .sidebar-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background: rgba(0,0,0,0.5);
        z-index: 9998;
    }
    
    .sidebar-overlay.active {
        display: block;
    }
}

/* FORCE les icônes côte à côte */
.header-right {
    position: absolute !important;
    right: 12px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    height: auto !important;
}

.search-bar {
    display: flex !important;
    position: static !important;
    transform: none !important;
    width: auto !important;
    max-width: none !important;
}

.header-cart {
    display: flex !important;
    position: static !important;
}

/* Cache l'input sur mobile */
@media (max-width: 768px) {
    .search-bar input {
        display: none !important;
    }
}

/* Boutons identiques */
.search-bar button,
.cart-icon-btn {
    width: 36px !important;
    height: 36px !important;
    min-width: 36px !important;
    min-height: 36px !important;
    background: #2c5530 !important;
    border: none !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    position: relative !important;
    transition: transform 0.2s ease !important;
}

.search-bar button:hover,
.cart-icon-btn:hover {
    transform: scale(1.1) !important;
}

/* SVG blancs */
.search-bar button svg,
.cart-icon-btn svg {
    width: 18px !important;
    height: 18px !important;
    stroke: white !important;
    fill: none !important;
}

/* Menu burger */
.mobile-menu-toggle {
    cursor: pointer !important;
    width: 40px !important;
    height: 40px !important;
}

/* Overflow visible */
.dashboard-header {
    overflow: visible !important;
}

.cart-count {
    position: absolute !important;
    top: -4px !important;
    right: -4px !important;
    z-index: 100 !important;
}
