/* ========================================
   Filters Design - Matching Design System
   ======================================== */

/* ====== Main Filter Section ====== */
.product-filters-section {
    background: var(--surface-color);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-base);
    border: 1px solid var(--border-light);
    overflow: hidden;
}

.product-filters-section[data-category-slug] {
    border-color: var(--primary-200);
    box-shadow: var(--shadow-md);
}

/* ====== Accordion Styles ====== */
#filtersAccordion .accordion-item {
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--border-light);
}

#filtersAccordion .accordion-item:last-child {
    border-bottom: none;
}

#filtersAccordion .accordion-button {
    background: linear-gradient(135deg, var(--neutral-50), var(--white));
    color: var(--text-color);
    border: none;
    padding: var(--space-4) var(--space-5);
    font-weight: var(--font-weight-medium);
    font-size: var(--text-base);
    transition: var(--transition-all);
    position: relative;
    overflow: hidden;
}

#filtersAccordion .accordion-button:not(.collapsed) {
    background: linear-gradient(135deg, var(--primary-50), var(--primary-100));
    color: var(--primary-700);
    box-shadow: none;
}

#filtersAccordion .accordion-button:hover {
    background: linear-gradient(135deg, var(--primary-100), var(--primary-50));
    color: var(--primary-600);
}

#filtersAccordion .accordion-button:focus {
    outline: 2px solid var(--primary-500);
    outline-offset: -2px;
    box-shadow: none;
    z-index: 3;
}

#filtersAccordion .accordion-button::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%230284c7'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
    transition: var(--transition-transform);
}

#filtersAccordion .accordion-button:not(.collapsed)::after {
    transform: rotate(-180deg);
}

#filtersAccordion .accordion-body {
    padding: var(--space-5);
    background: linear-gradient(135deg, var(--white), var(--neutral-50));
    border-top: 1px solid var(--border-light);
}

/* ====== Badge Styles ====== */
.badge {
    background: linear-gradient(135deg, var(--primary-500), var(--primary-600)) !important;
    color: var(--white);
    font-size: var(--text-xs);
    font-weight: var(--font-weight-bold);
    padding: var(--space-1) var(--space-2);
    border-radius: var(--radius-full);
    margin-left: auto;
    transition: var(--transition-all);
}

.accordion-button .badge {
    animation: pulse-badge 2s infinite;
}

@keyframes pulse-badge {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

/* ====== Order Filters ====== */
.order_filters ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
}

.order_filters li {
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: var(--transition-all);
}

.order_filters li.is-active {
    background: linear-gradient(135deg, var(--primary-100), var(--primary-200));
    box-shadow: var(--shadow-sm);
    transform: translateX(4px);
}

.order_filters a {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-3) var(--space-4);
    text-decoration: none;
    color: var(--text-color);
    font-weight: var(--font-weight-medium);
    transition: var(--transition-all);
    position: relative;
    overflow: hidden;
}

.order_filters a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--primary-500);
    transform: scaleY(0);
    transition: var(--transition-transform);
    transform-origin: bottom;
}

.order_filters li.is-active a::before {
    transform: scaleY(1);
}

.order_filters a:hover {
    background: linear-gradient(135deg, var(--primary-50), var(--primary-100));
    color: var(--primary-600);
    transform: translateX(2px);
}

.order_filters a i {
    font-size: 1.1em;
    color: var(--primary-500);
}

/* ====== Range Filters ====== */
.range_filter {
    padding: var(--space-4) 0;
}

.range-filter-content {
    position: relative;
}

.range-values {
    margin-bottom: var(--space-6);
}

/* ====== Enhanced Range Filter Styles ====== */
.range-value-display {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-3) var(--space-4);
    background: linear-gradient(135deg, var(--neutral-50), var(--white));
    border: 2px solid var(--border-light);
    border-radius: var(--radius-lg);
    font-weight: var(--font-weight-medium);
    color: var(--text-color);
    margin-bottom: var(--space-4);
}

.range-value-display .min-value,
.range-value-display .max-value,
.range-value-display .range-value-min,
.range-value-display .range-value-max {
    font-size: var(--text-sm);
    color: var(--primary-600);
    font-weight: var(--font-weight-semibold);
    background: var(--primary-50);
    padding: var(--space-1) var(--space-2);
    border-radius: var(--radius-md);
}

.range-value-display .separator,
.range-value-display .range-separator {
    color: var(--text-muted);
    font-weight: var(--font-weight-normal);
    margin: 0 var(--space-2);
}

/* ====== Checkbox and Input Enhancements ====== */
.filter-checkbox {
    accent-color: var(--primary-500);
    width: 1.1em;
    height: 1.1em;
    margin: 0;
    cursor: pointer;
}

.filter-checkbox:focus {
    outline: 2px solid var(--primary-500);
    outline-offset: 2px;
}

/* ====== Legacy Template Support ====== */
.text-label,
.color-label,
.boolean-label {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    font-weight: var(--font-weight-medium);
    color: var(--text-color);
    cursor: pointer;
    margin: 0;
    flex: 1;
}

.filter-count {
    background: var(--neutral-100);
    color: var(--text-secondary);
    padding: var(--space-1) var(--space-2);
    border-radius: var(--radius-full);
    font-size: var(--text-xs);
    font-weight: var(--font-weight-semibold);
    margin-left: auto;
}

/* ====== Disabled States ====== */
.color-option.disabled,
.text-option.disabled,
.boolean-filter.disabled,
.text-choice.disabled,
.color-choice.disabled,
.boolean-choice.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none !important;
}

.color-option.disabled:hover,
.text-option.disabled:hover,
.boolean-filter.disabled:hover,
.text-choice.disabled:hover,
.color-choice.disabled:hover,
.boolean-choice.disabled:hover {
    transform: none;
    box-shadow: none;
    border-color: var(--border-light);
    background: var(--neutral-100);
}

/* ====== Active States Enhancement ====== */
.accordion-button:not(.collapsed) + .accordion-collapse .accordion-body {
    background: linear-gradient(135deg, var(--white), var(--primary-50));
}

/* ====== Filter Type Specific Icons ====== */
.accordion-button i.bi-palette {
    color: var(--accent-rose);
}

.accordion-button i.bi-text-left {
    color: var(--primary-600);
}

.accordion-button i.bi-check-square {
    color: var(--success-600);
}

.accordion-button i.bi-sliders {
    color: var(--accent-emerald);
}

.accordion-button i.bi-currency-euro {
    color: var(--accent-amber);
}

.accordion-button i.bi-sort-down {
    color: var(--accent-violet);
}

/* ====== Animation Enhancements ====== */
.color-option,
.text-option,
.boolean-filter,
.text-choice,
.color-choice,
.boolean-choice {
    transform-origin: center center;
    backface-visibility: hidden;
}

/* ====== Loading States ====== */
.filter-loading {
    opacity: 0.6;
    pointer-events: none;
    position: relative;
}

.filter-loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid var(--primary-200);
    border-top: 2px solid var(--primary-500);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

/* ====== Tooltip Enhancements ====== */
.color-option[title]:hover::before,
.text-option[title]:hover::before {
    content: attr(title);
    position: absolute;
    bottom: 110%;
    left: 50%;
    transform: translateX(-50%);
    background: var(--neutral-800);
    color: var(--white);
    padding: var(--space-1) var(--space-2);
    border-radius: var(--radius-md);
    font-size: var(--text-xs);
    white-space: nowrap;
    z-index: 1000;
    box-shadow: var(--shadow-md);
}

/* ====== High Contrast Mode Support ====== */
@media (prefers-contrast: high) {
    .color-option,
    .text-option,
    .boolean-filter {
        border-width: 3px;
    }
    
    .range-value-display {
        border-width: 3px;
    }
}

/* ====== NoUI Slider Customization ====== */
.nouislider-container {
    margin: var(--space-4) 0;
}

.noUi-target {
    background: var(--neutral-200);
    border-radius: var(--radius-full);
    border: none;
    box-shadow: inset var(--shadow-sm);
    height: 8px;
}

.noUi-connect {
    background: linear-gradient(135deg, var(--primary-500), var(--primary-600));
    box-shadow: var(--shadow-sm);
}

.noUi-handle {
    border: 3px solid var(--white);
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-500), var(--primary-600));
    cursor: pointer;
    box-shadow: var(--shadow-md);
    transition: var(--transition-all);
}

.noUi-handle:hover {
    transform: scale(1.1);
    box-shadow: var(--shadow-lg);
}

.noUi-handle:active {
    transform: scale(1.2);
}

.noUi-handle:before,
.noUi-handle:after {
    display: none;
}

.noUi-tooltip {
    background: var(--neutral-800);
    color: var(--white);
    border: none;
    border-radius: var(--radius-md);
    font-size: var(--text-xs);
    font-weight: var(--font-weight-medium);
    padding: var(--space-1) var(--space-2);
    box-shadow: var(--shadow-md);
}

/* ====== Color Filters ====== */
.color-filter {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(44px, 1fr));
    gap: var(--space-3);
    padding: var(--space-3) 0;
    justify-items: center;
}

/* Modern color option structure */
.color-option {
    position: relative;
    width: 44px;
    height: 44px;
    border-radius: var(--radius-xl);
    border: 3px solid var(--border-light);
    cursor: pointer;
    transition: var(--transition-all);
    overflow: hidden;
    display: block;
}

.color-option:hover {
    transform: scale(1.1);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-300);
}

.color-option.selected,
.color-option:has(input[type="checkbox"]:checked) {
    border-color: var(--primary-500);
    box-shadow: 0 0 0 4px rgba(var(--primary-rgb), 0.3);
    transform: scale(1.08);
}

.color-option input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.color-option .color-swatch {
    width: 100%;
    height: 100%;
    border-radius: var(--radius-lg);
    display: block;
}

.color-option .checkmark {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--white);
    font-size: var(--text-xl);
    opacity: 0;
    transition: var(--transition-opacity);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
    z-index: 2;
}

.color-option.selected .checkmark,
.color-option:has(input[type="checkbox"]:checked) .checkmark {
    opacity: 1;
}

/* Legacy support for existing template structure */
.color-choice {
    position: relative;
    display: block;
    width: 44px;
    height: 44px;
    border-radius: var(--radius-xl);
    border: 3px solid var(--border-light);
    cursor: pointer;
    transition: var(--transition-all);
    overflow: hidden;
    margin: 0;
    text-decoration: none;
}

.color-choice:hover {
    transform: scale(1.1);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-300);
}

.color-choice:has(input[type="checkbox"]:checked),
.color-choice input[type="checkbox"]:checked + .color-swatch {
    border-color: var(--primary-500);
    box-shadow: 0 0 0 4px rgba(var(--primary-rgb), 0.3);
}

.color-choice input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.color-choice .color-swatch {
    width: 100%;
    height: 100%;
    border-radius: var(--radius-lg);
    display: block;
}

.color-choice .color-label {
    position: absolute;
    bottom: -var(--space-6);
    left: 50%;
    transform: translateX(-50%);
    font-size: var(--text-xs);
    white-space: nowrap;
    background: var(--neutral-800);
    color: var(--white);
    padding: var(--space-1) var(--space-2);
    border-radius: var(--radius-md);
    opacity: 0;
    transition: var(--transition-opacity);
    z-index: 10;
}

.color-choice:hover .color-label {
    opacity: 1;
}

.color-choice .filter-count {
    background: var(--primary-100);
    color: var(--primary-700);
}

/* JavaScript fallback for browsers without :has() support */
.color-option.js-checked,
.color-choice.js-checked {
    border-color: var(--primary-500);
    box-shadow: 0 0 0 4px rgba(var(--primary-rgb), 0.3);
    transform: scale(1.08);
}

.color-option.js-checked .checkmark {
    opacity: 1;
}

/* Disabled color options */
.color-option.disabled,
.color-choice.disabled {
    opacity: 0.4;
    cursor: not-allowed;
    filter: grayscale(0.5);
}

.color-option.disabled:hover,
.color-choice.disabled:hover {
    transform: none;
    box-shadow: none;
    border-color: var(--border-light);
}

/* Color accessibility improvements */
.color-option[data-color="white"] .color-swatch,
.color-choice[data-color="white"] .color-swatch,
.color-option .color-swatch[style*="white"],
.color-choice .color-swatch[style*="white"],
.color-option .color-swatch[style*="#fff"],
.color-choice .color-swatch[style*="#fff"],
.color-option .color-swatch[style*="#ffffff"],
.color-choice .color-swatch[style*="#ffffff"] {
    border: 1px solid var(--border-light);
}

.color-option[data-color="white"] .checkmark,
.color-choice[data-color="white"] .checkmark,
.color-option .color-swatch[style*="white"] + .checkmark,
.color-choice .color-swatch[style*="white"] + .checkmark,
.color-option .color-swatch[style*="#fff"] + .checkmark,
.color-choice .color-swatch[style*="#fff"] + .checkmark,
.color-option .color-swatch[style*="#ffffff"] + .checkmark,
.color-choice .color-swatch[style*="#ffffff"] + .checkmark {
    color: var(--text-color);
    text-shadow: none;
}

/* ====== Text Filters ====== */
.text-filter {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
}

.text-option {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-3);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-light);
    background: var(--white);
    transition: var(--transition-all);
    cursor: pointer;
}

.text-option:hover {
    background: var(--primary-50);
    border-color: var(--primary-200);
    transform: translateX(2px);
}

.text-option.selected,
.text-option input[type="checkbox"]:checked {
    background: linear-gradient(135deg, var(--primary-100), var(--primary-50));
    border-color: var(--primary-400);
    box-shadow: var(--shadow-sm);
}

.text-option input[type="checkbox"] {
    accent-color: var(--primary-500);
    margin: 0;
}

.text-option label {
    font-weight: var(--font-weight-medium);
    color: var(--text-color);
    cursor: pointer;
    margin: 0;
    flex: 1;
}

.text-option .count {
    background: var(--neutral-100);
    color: var(--text-secondary);
    padding: var(--space-1) var(--space-2);
    border-radius: var(--radius-full);
    font-size: var(--text-xs);
    font-weight: var(--font-weight-semibold);
}

.text-option.selected .count,
.text-option input[type="checkbox"]:checked ~ .count {
    background: var(--primary-200);
    color: var(--primary-700);
}

/* Legacy support for old structure */
.text-choice {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-3);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-light);
    background: var(--white);
    transition: var(--transition-all);
    cursor: pointer;
}

.text-choice:hover {
    background: var(--primary-50);
    border-color: var(--primary-200);
    transform: translateX(2px);
}

.text-choice input[type="checkbox"]:checked {
    background: linear-gradient(135deg, var(--primary-100), var(--primary-50));
    border-color: var(--primary-400);
    box-shadow: var(--shadow-sm);
}

/* ====== Boolean Filters ====== */
.boolean-filter {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-4);
    background: linear-gradient(135deg, var(--white), var(--neutral-50));
    border: 2px solid var(--border-light);
    border-radius: var(--radius-lg);
    transition: var(--transition-all);
    cursor: pointer;
}

.boolean-filter:hover {
    border-color: var(--primary-200);
    background: linear-gradient(135deg, var(--primary-50), var(--white));
}

.boolean-filter.selected,
.boolean-filter input[type="checkbox"]:checked {
    border-color: var(--primary-400);
    background: linear-gradient(135deg, var(--primary-100), var(--primary-50));
    box-shadow: var(--shadow-sm);
}

.boolean-filter input[type="checkbox"] {
    accent-color: var(--primary-500);
    transform: scale(1.2);
    margin: 0;
}

.boolean-filter label {
    font-weight: var(--font-weight-medium);
    color: var(--text-color);
    cursor: pointer;
    margin: 0;
    flex: 1;
}

/* Legacy support for old structure */
.boolean-choice {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-4);
    background: linear-gradient(135deg, var(--white), var(--neutral-50));
    border: 2px solid var(--border-light);
    border-radius: var(--radius-lg);
    transition: var(--transition-all);
    cursor: pointer;
}

.boolean-choice:hover {
    border-color: var(--primary-200);
    background: linear-gradient(135deg, var(--primary-50), var(--white));
}

.boolean-choice input[type="checkbox"]:checked {
    border-color: var(--primary-400);
    background: linear-gradient(135deg, var(--primary-100), var(--primary-50));
    box-shadow: var(--shadow-sm);
}

/* ====== Integer Range Filters ====== */
.integer-filter {
    padding: var(--space-4) 0;
}

.integer-range-inputs {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: var(--space-3);
    align-items: center;
    margin-bottom: var(--space-4);
}

.integer-input {
    padding: var(--space-3) var(--space-4);
    border: 2px solid var(--border-light);
    border-radius: var(--radius-lg);
    font-size: var(--text-base);
    font-weight: var(--font-weight-medium);
    background: linear-gradient(135deg, var(--white), var(--neutral-50));
    color: var(--text-color);
    transition: var(--transition-colors);
    text-align: center;
    width: 100%;
}

.integer-input:focus {
    outline: none;
    border-color: var(--primary-500);
    box-shadow: 0 0 0 3px rgba(var(--primary-rgb), 0.1);
    background: var(--white);
}

.integer-input:hover {
    border-color: var(--primary-300);
    background: var(--white);
}

.integer-separator {
    color: var(--text-secondary);
    font-weight: var(--font-weight-semibold);
    text-align: center;
    padding: 0 var(--space-2);
    font-size: var(--text-base);
}

/* Integer slider specific styles */
.integer-slider.nouislider-container {
    margin: var(--space-6) 0 var(--space-4) 0;
}

.integer-slider .noUi-target {
    background: var(--neutral-200);
    border-radius: var(--radius-full);
    border: none;
    box-shadow: inset var(--shadow-sm);
    height: 6px;
}

.integer-slider .noUi-connect {
    background: linear-gradient(135deg, var(--accent-emerald), var(--success-600));
    box-shadow: var(--shadow-sm);
}

.integer-slider .noUi-handle {
    border: 2px solid var(--white);
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-emerald), var(--success-600));
    cursor: pointer;
    box-shadow: var(--shadow-md);
    transition: var(--transition-all);
    width: 20px;
    height: 20px;
    right: -10px;
    top: -8px;
}

.integer-slider .noUi-handle:hover {
    transform: scale(1.15);
    box-shadow: var(--shadow-lg);
}

.integer-slider .noUi-handle:active {
    transform: scale(1.25);
}

/* Integer range values display */
.integer-range-values {
    margin-bottom: var(--space-4);
}

.integer-range-values .range-value-display {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-3) var(--space-4);
    background: linear-gradient(135deg, var(--success-50), var(--neutral-50));
    border: 2px solid var(--success-200);
    border-radius: var(--radius-lg);
    font-weight: var(--font-weight-medium);
    color: var(--success-700);
}

.integer-range-values .range-value-min,
.integer-range-values .range-value-max {
    font-size: var(--text-sm);
    font-weight: var(--font-weight-semibold);
}

.integer-range-values .range-separator {
    color: var(--success-600);
    font-weight: var(--font-weight-medium);
}

/* ====== Filter Actions ====== */
.filter-actions-item {
    background: linear-gradient(135deg, var(--neutral-50), var(--white));
    border: none !important;
}

.filter-actions {
    padding: var(--space-5);
}

#clearFilters {
    width: 100%;
    padding: var(--space-3) var(--space-4);
    background: linear-gradient(135deg, var(--neutral-100), var(--white));
    border: 2px solid var(--neutral-200);
    color: var(--neutral-700);
    font-weight: var(--font-weight-medium);
    border-radius: var(--radius-lg);
    transition: var(--transition-all);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
}

#clearFilters:hover {
    background: linear-gradient(135deg, var(--error-100), var(--error-50));
    border-color: var(--error-300);
    color: var(--error-700);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

#clearFilters:active {
    transform: translateY(0);
}

/* ====== Filter Summary ====== */
.filter-summary-item {
    background: linear-gradient(135deg, var(--info-50), var(--white));
    border: none !important;
}

.filter-summary {
    padding: var(--space-4) var(--space-5);
    text-align: center;
}

#filterSummaryText {
    color: var(--text-secondary);
    font-size: var(--text-sm);
    font-weight: var(--font-weight-medium);
}

/* ====== No Category Selected ====== */
.no-category-selected {
    padding: var(--space-8) var(--space-5);
    text-align: center;
    background: linear-gradient(135deg, var(--neutral-50), var(--white));
    border-radius: var(--radius-xl);
}

.category-hint {
    max-width: 300px;
    margin: 0 auto;
}

.category-hint i {
    display: block;
    margin-bottom: var(--space-4);
    color: var(--neutral-400);
}

.category-hint h4 {
    font-size: var(--text-xl);
    font-weight: var(--font-weight-semibold);
    color: var(--text-color);
    margin-bottom: var(--space-3);
}

.category-hint p {
    color: var(--text-secondary);
    font-size: var(--text-sm);
    line-height: var(--leading-relaxed);
    margin: 0;
}

/* ====== Pagination Luxury Styles ====== */
.luxury-pagination {
    background: linear-gradient(135deg, var(--white), var(--neutral-50));
    border-radius: var(--radius-xl);
    padding: var(--space-6);
    box-shadow: var(--shadow-base);
    border: 1px solid var(--border-light);
}

.luxury-btn-nav {
    padding: var(--space-3) var(--space-5);
    border-radius: var(--radius-lg);
    font-weight: var(--font-weight-medium);
    transition: var(--transition-all);
    border: 2px solid var(--primary-200);
    background: linear-gradient(135deg, var(--white), var(--primary-50));
    color: var(--primary-600);
}

.luxury-btn-nav:hover:not(.disabled) {
    background: linear-gradient(135deg, var(--primary-500), var(--primary-600));
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-400);
}

.luxury-btn-nav.disabled {
    background: var(--neutral-100);
    color: var(--neutral-400);
    border-color: var(--neutral-200);
    cursor: not-allowed;
}

.luxury-page-info {
    background: var(--primary-50);
    padding: var(--space-2) var(--space-4);
    border-radius: var(--radius-full);
    color: var(--primary-700);
    font-weight: var(--font-weight-medium);
}

.luxury-page-item {
    margin: 0 var(--space-1);
}

.luxury-page-link {
    padding: var(--space-3) var(--space-4);
    border-radius: var(--radius-lg);
    border: 2px solid var(--border-light);
    background: var(--white);
    color: var(--text-color);
    font-weight: var(--font-weight-medium);
    transition: var(--transition-all);
    min-width: 44px;
    text-align: center;
}

.luxury-page-link:hover {
    background: linear-gradient(135deg, var(--primary-100), var(--primary-50));
    border-color: var(--primary-300);
    color: var(--primary-700);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.luxury-page-active .luxury-page-link {
    background: linear-gradient(135deg, var(--primary-500), var(--primary-600));
    border-color: var(--primary-400);
    color: var(--white);
    box-shadow: var(--shadow-md);
    transform: translateY(-1px);
}

.luxury-pagination-info {
    background: var(--surface-color);
    padding: var(--space-3) var(--space-4);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-light);
    color: var(--text-secondary);
    font-size: var(--text-sm);
    font-weight: var(--font-weight-medium);
}

/* ====== Responsive Design ====== */
@media (max-width: 768px) {
    .product-filters-section {
        border-radius: var(--radius-lg);
        margin: var(--space-4) 0;
    }
    
    #filtersAccordion .accordion-button {
        padding: var(--space-3) var(--space-4);
        font-size: var(--text-sm);
    }
    
    #filtersAccordion .accordion-body {
        padding: var(--space-4);
    }
    
    .color-filter {
        grid-template-columns: repeat(auto-fill, minmax(35px, 1fr));
        gap: var(--space-2);
    }
    
    .color-option {
        width: 35px;
        height: 35px;
    }
    
    .range-value-display {
        padding: var(--space-2) var(--space-3);
        font-size: var(--text-sm);
    }
    
    .luxury-pagination {
        padding: var(--space-2);
    }
    
    .luxury-btn-nav {
        padding: var(--space-2) var(--space-4);
        font-size: var(--text-sm);
    }
    
    .luxury-page-link {
        padding: var(--space-2) var(--space-3);
        min-width: 40px;
    }
}

@media (max-width: 576px) {
    .integer-range-inputs {
        grid-template-columns: 1fr;
        gap: var(--space-2);
        text-align: center;
    }
    
    .integer-separator {
        order: 2;
    }
    
    .text-option {
        padding: var(--space-2);
    }
    
    .boolean-filter {
        padding: var(--space-3);
    }
    
    .filter-actions {
        padding: var(--space-4);
    }
    
    .category-hint {
        padding: var(--space-4);
    }
    
    .category-hint h4 {
        font-size: var(--text-lg);
    }
}

/* ====== Accessibility Improvements ====== */
.order_filters a:focus,
.text-option:focus,
.boolean-filter:focus,
.color-option:focus {
    outline: 2px solid var(--primary-500);
    outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
    .order_filters a,
    .text-option,
    .boolean-filter,
    .color-option,
    .luxury-btn-nav,
    .luxury-page-link,
    .noUi-handle {
        transition: none;
        transform: none !important;
    }
    
    .badge {
        animation: none;
    }
}

/* ====== Performance Optimizations ====== */
.order_filters a,
.text-option,
.boolean-filter,
.color-option,
.luxury-btn-nav,
.luxury-page-link {
    will-change: transform;
}