* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
 
        
        /* Filter Bar Container */
        .filter-bar {
            background: white;
            /*border-bottom: 1px solid #e8e8e8;*/
            padding: 12px 16px;
            position: sticky;
            top: 0;
            z-index: 100;
        }
        
        /* Scrollable Filters Row */
        .filters-row {
            display: flex;
            gap: 12px;
            overflow-x: auto;
            overflow-y: visible;
            scrollbar-width: thin;
            -webkit-overflow-scrolling: touch;
            padding-bottom: 4px;
        }
        
        .filters-row::-webkit-scrollbar {
            height: 3px;
        }
        
        .filters-row::-webkit-scrollbar-track {
            background: #f0f0f0;
            border-radius: 10px;
        }
        
        .filters-row::-webkit-scrollbar-thumb {
            background: #ccc;
            border-radius: 10px;
        }
        
        /* Filter Button Styles */
        .filter-chip {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            padding: 8px 18px;
            background: #f5f5f5;
            border: 1px solid #e0e0e0;
            border-radius: 40px;
            font-size: 14px;
            font-weight: 500;
            color: #333;
            white-space: nowrap;
            cursor: pointer;
            transition: all 0.2s ease;
            flex-shrink: 0;
        }
        
        .filter-chip i {
            font-size: 14px;
            color: #888;
        }
        
        .filter-chip.active {
            background: #2159AF;
            border-color: #2159AF;
            color: white;
        }
        
        .filter-chip.active i {
            color: white;
        }
        
        .filter-chip:hover:not(.active) {
            background: #eeeeee;
        }
        
        /* Action Buttons (Reset & Apply) - Separate from Sort */
        .action-buttons {
            display: flex;
            gap: 12px;
            margin-left: 12px;
            flex-shrink: 0;
        }
        
        .action-chip {
            padding: 8px 20px;
            border-radius: 40px;
            font-size: 14px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.2s ease;
            flex-shrink: 0;
        }
        
        .btn-reset {
            background: white;
            border: 1px solid #ddd;
            color: #666;
        }
        
        .btn-reset:hover {
            border-color: #2159AF;
            color: #2159AF;
        }
        
        .btn-apply {
            background: #2159AF;
            border: none;
            color: white;
        }
        
        .btn-apply:hover {
            background: #FFBB32;
        }
        
        /* Active Filters Tags */
        .active-tags {
            display: flex;
            flex-wrap: wrap;
            gap: 8px;
            margin-top: 12px;
            padding-top: 8px;
            border-top: 1px solid #f0f0f0;
        }
        
        .filter-tag {
            background: #e8f7ff;
            color: #2159AF;
            padding: 4px 12px;
            border-radius: 20px;
            font-size: 12px;
            display: inline-flex;
            align-items: center;
            gap: 6px;
        }
        
        .filter-tag i {
            cursor: pointer;
            font-size: 12px;
        }
        
        /* Dropdown Panel (Desktop) */
        .dropdown-panel {
            position: absolute;
            background: white;
            border-radius: 16px;
            box-shadow: 0 4px 20px rgba(0,0,0,0.15);
            min-width: 320px;
            z-index: 200;
            margin-top: 8px;
            display: none;
        }
        
        .dropdown-panel.show {
            display: block;
        }
        
        .dropdown-panel .panel-header {
            padding: 16px 20px;
            border-bottom: 1px solid #eee;
            font-weight: 600;
            font-size: 16px;
        }
        
        .dropdown-panel .panel-body {
            padding: 16px 20px;
        }
        
        .dropdown-panel .panel-footer {
            padding: 12px 20px;
            border-top: 1px solid #eee;
            display: flex;
            gap: 12px;
        }
        
        /* Option Groups */
        .option-group {
            display: flex;
            flex-wrap: wrap;
            gap: 10px;
            margin: 15px 0;
        }
        
        .option-btn {
            padding: 8px 16px;
            background: #f5f5f5;
            border: 1px solid #e0e0e0;
            border-radius: 30px;
            font-size: 14px;
            cursor: pointer;
            transition: all 0.2s ease;
        }
        
        .option-btn.selected {
            background: #FFBB32;
            /*border-color: #2159AF;*/
            color: white;
        }
        
        /* Sort Options - without footer buttons */
        .sort-options-list {
            display: flex;
            flex-direction: column;
            gap: 8px;
        }
        
        .sort-option {
            padding: 12px 16px;
            background: #f5f5f5;
            border-radius: 12px;
            cursor: pointer;
            display: flex;
            justify-content: space-between;
            align-items: center;
            transition: all 0.2s ease;
        }
        
        .sort-option.selected {
            /*background: #e8f7ff;*/
            background: #FFBB32;
            border-left: 3px solid #2159AF;
        }
        
        .sort-option.selected .sort-label {
            color: #2159AF;
            font-weight: 600;
        }
        
        .sort-option i {
            color: #2159AF;
            font-size: 18px;
        }
        
        /* Reset button that appears below when filter is selected */
        .filter-reset-btn {
            margin-top: 16px;
            padding-top: 16px;
            border-top: 1px solid #eee;
            text-align: center;
        }
        
        .filter-reset-chip {
            background: white;
            border: 1px solid #ddd;
            color: #666;
            padding: 8px 20px;
            border-radius: 40px;
            font-size: 14px;
            font-weight: 500;
            cursor: pointer;
            transition: all 0.2s ease;
            display: inline-flex;
            align-items: center;
            gap: 8px;
        }
        
        .filter-reset-chip:hover {
            border-color: #2159AF;
            color: #2159AF;
        }
        
        /* Bottom Sheet (Mobile) */
        .bottom-sheet {
            position: fixed;
            bottom: -100%;
            left: 0;
            right: 0;
            background: white;
            border-radius: 20px 20px 0 0;
            z-index: 1000;
            transition: bottom 0.3s ease;
            max-height: 80vh;
            overflow-y: auto;
        }
        
        .bottom-sheet.open {
            bottom: 0;
        }
        
        .bottom-sheet-header {
            padding: 16px 20px;
            border-bottom: 1px solid #eee;
            display: flex;
            justify-content: space-between;
            align-items: center;
            position: sticky;
            top: 0;
            background: white;
        }
        
        .bottom-sheet-title {
            font-size: 18px;
            font-weight: 600;
            margin: 0;
        }
        
        .bottom-sheet-close {
            background: none;
            border: none;
            font-size: 24px;
            cursor: pointer;
            color: #999;
        }
        
        .bottom-sheet-body {
            padding: 20px;
        }
        
        /* Overlay */
        .sheet-overlay {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: rgba(0,0,0,0.5);
            z-index: 999;
            display: none;
        }
        
        .sheet-overlay.open {
            display: block;
        }
        
        /* Small screen adjustments */
        @media (max-width: 768px) {
            .filter-bar {
                padding: 10px 12px;
            }
            
            .filter-chip {
                padding: 6px 14px;
                font-size: 13px;
            }
            
            .action-chip {
                padding: 6px 16px;
                font-size: 13px;
            }
        }
        
        /* Demo content */
        .demo-content {
            padding: 20px;
            text-align: center;
            color: #999;
        }