/* BV Algolia Filters - Mobile Sidebar CSS */

/* Mobile Filters Button Styling */
.bvaf-mobile-filters-wrapper {
    display: none;
    margin-bottom: 15px;
}

.bvaf-mobile-filters-btn {
    background: #000;
    color: #fff;
    border: none;
    padding: 12px 20px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}


.bvaf-mobile-filters-btn .bvaf-filter-icon {
    font-size: 16px;
}

/* Sidebar Overlay */
.bvaf-mobile-sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

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

/* Mobile Sidebar */
.bvaf-mobile-sidebar {
    position: fixed;
    top: 0;
    left: -100%;
    width: 300px;
    max-width: 85vw;
    height: 100%;
    background: #fff;
    z-index: 9999;
    transition: left 0.3s ease;
    overflow-y: auto;
    box-shadow: 2px 0 10px rgba(0,0,0,0.1);
}

.bvaf-mobile-sidebar.active {
    left: 0;
}

.bvaf-mobile-sidebar-header {
    background: #f8f9fa;
    padding: 15px 20px;
    border-bottom: 1px solid #ddd;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 10;
}

.bvaf-mobile-sidebar-title {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin: 0;
}

.bvaf-mobile-sidebar-close {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #666;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bvaf-mobile-sidebar-content {
    padding: 20px;
}

/* Εμφάνιση μόνο σε κινητά */
@media (max-width: 768px) {
    .bvaf-mobile-filters-wrapper {
        display: block;
    }
    
    /* Κρύβουμε το κανονικό sidebar εντελώς σε κινητά */
    #secondary.widget-area.secondary,
    .ast-separate-container #secondary.widget-area.secondary,
    .site-content #secondary.widget-area.secondary,
    .widget-area.secondary {
        display: none !important;
    }
    
    /* Εμφανίζουμε μόνο το sidebar όταν είναι μέσα στο mobile popup */
    .bvaf-mobile-sidebar #secondary.widget-area.secondary,
    .bvaf-mobile-sidebar .sidebar-main,
    .bvaf-mobile-sidebar .widget-area {
        display: block !important;
    }
}

/* Desktop - κρύβουμε το κουμπί */
@media (min-width: 769px) {
    .bvaf-mobile-filters-wrapper {
        display: none !important;
    }
} 