/* Container */
.s-oxy-filter-wrap, .s-oxy-active-filters-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    flex-direction: row; 
    align-items: center;
    width: 100%;
}

/* Global Font Inheritance */
.s-oxy-filter-wrap, .s-oxy-filter-btn, .s-oxy-input-label, .s-oxy-filter-select, .s-oxy-active-filters-wrap {
    font-family: inherit; line-height: inherit;
}

/* Buttons */
.s-oxy-filter-btn {
    background: #fff; border: 1px solid #e2e4e7; padding: 8px 18px;
    border-radius: 4px; cursor: pointer; font-size: 14px; color: #4a5568; transition: all 0.2s;
}
.s-oxy-filter-btn:hover { background: #f7fafc; }
.s-oxy-filter-btn.active { background: #3182ce; border-color: #3182ce; color: #fff; }

/* Swatches */
.s-oxy-swatch-btn {
    background: transparent; border: 2px solid transparent; padding: 2px;
    border-radius: 50%; cursor: pointer; display: flex; align-items: center; justify-content: center;
    width: 30px; height: 30px; transition: all 0.2s;
}
.s-oxy-swatch-btn .s-oxy-swatch-color {
    display: block; width: 100%; height: 100%; border-radius: 50%; border: 1px solid rgba(0,0,0,0.1);
}
.s-oxy-swatch-btn:hover { transform: scale(1.1); }
.s-oxy-swatch-btn.active { border-color: #3182ce; }

/* Checkboxes */
.s-oxy-input-label {
    display: flex; align-items: center; margin-right: 15px; margin-bottom: 5px;
    cursor: pointer; font-size: 14px; color: #4a5568;
}
.s-oxy-input-label input[type="checkbox"], .s-oxy-input-label input[type="radio"] {
    appearance: none; -webkit-appearance: none; width: 16px; height: 16px;
    border: 1px solid #cbd5e0; background: #fff; margin-right: 8px; cursor: pointer;
    display: flex; align-items: center; justify-content: center; flex-shrink: 0; transition: all 0.2s;
}
.s-oxy-input-label input[type="radio"] { border-radius: 50%; }
.s-oxy-input-label input:checked { background: #3182ce; border-color: #3182ce; }
.s-oxy-input-label input[type="checkbox"]:checked::after {
    content: ''; width: 4px; height: 8px; border: solid white; border-width: 0 2px 2px 0; transform: rotate(45deg); margin-top: -2px;
}
.s-oxy-input-label input[type="radio"]:checked::after {
    content: ''; width: 6px; height: 6px; background: white; border-radius: 50%;
}

/* Dropdown */
.s-oxy-filter-select {
    padding: 8px 30px 8px 12px; border: 1px solid #e2e4e7; border-radius: 4px;
    font-size: 14px; background: #fff; cursor: pointer; min-width: 200px;
}

/* Search */
.s-oxy-search-input { width: 100%; padding: 10px; border: 1px solid #e2e4e7; border-radius: 4px; font-size: 14px; }

/* Active Chips */
.s-oxy-chip {
    background: #e2e8f0; color: #4a5568; padding: 5px 12px; border-radius: 20px;
    font-size: 13px; cursor: pointer; display: inline-flex; align-items: center;
}
.s-oxy-chip:hover { background: #cbd5e0; }
.s-oxy-chip i { margin-left: 5px; font-size: 14px; }
.s-oxy-clear-all { background: none; border: none; color: #e53e3e; cursor: pointer; font-size: 13px; text-decoration: underline; }

/* Price Standard */
.s-oxy-filter-wrap.type-price { align-items: center; }
.s-oxy-price-input { width: 80px; padding: 6px; border: 1px solid #e2e4e7; border-radius: 4px; font-size: 14px; }
.s-oxy-price-sep { margin: 0 5px; color: #777; }
.s-oxy-apply-price { margin-left: 10px; background: #3182ce; color: #fff; border: none; padding: 7px 15px; border-radius: 4px; cursor: pointer; }

/* Price Slider */
.s-oxy-filter-wrap.type-slider {
    width: 100%;
    display: block; 
    padding: 0 10px;
}
.s-oxy-price-slider {
    margin-bottom: 15px;
    margin-top: 5px;
    height: 6px;
}
.noUi-connect {
    background: #3182ce; 
}
.noUi-handle {
    border-radius: 50%;
    width: 18px;
    height: 18px;
    right: -9px;
    top: -7px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.2);
    cursor: pointer;
}
.noUi-handle:before, .noUi-handle:after { display: none; }
.s-oxy-price-range-labels {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    color: #666;
}

/* Load More */
.s-oxy-load-more { display: block; margin: 20px auto; padding: 10px 20px; background: #3182ce; color: #fff; border-radius: 4px; cursor: pointer; border: none; font-size: 15px; }
.s-oxy-load-more:hover { background: #2b6cb0; }

.s-oxy-repeater-loading { opacity: 0.5; pointer-events: none; transition: opacity 0.3s; }
.s-oxy-no-results { width: 100%; padding: 20px; text-align: center; color: #666; }


/* Loading Overlay */
.s-oxy-repeater-loading {
    position: relative;
    opacity: 0.6;
    pointer-events: none;
    min-height: 200px; /* Prevent collapse */
}

/* Spinner Animation */
.s-oxy-repeater-loading::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 40px;
    height: 40px;
    margin-top: -20px;
    margin-left: -20px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #3182ce; /* Your brand color */
    border-radius: 50%;
    animation: oxy-spin 1s linear infinite;
    z-index: 10;
}

@keyframes oxy-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}