.custom-filters-sidebar {
    width: 300px;
    flex-shrink: 0;
    position: sticky;
    top: 20px;
    height: fit-content;
    max-height: calc(100vh - 40px);
    overflow-y: auto;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 16px;
    padding: 25px;
    transition: transform 0.3s;
    z-index: 100;
}

.custom-filters-sidebar::-webkit-scrollbar {
    width: 6px;
}

.custom-filters-sidebar::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.05);
    border-radius: 10px;
}

.custom-filters-sidebar::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 10px;
}

.filters-header {
    font-size: 18px;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 25px;
    letter-spacing: 0.5px;
    color: #000;
}

.filter-section {
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.filter-section:last-of-type {
    border-bottom: none;
}

.filter-section h3 {
    font-size: 13px;
    margin-bottom: 12px;
    font-weight: 600;
    color: #000;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.filter-checkbox {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    cursor: pointer;
}

.filter-checkbox input {
    width: 16px;
    height: 16px;
    margin-right: 10px;
    cursor: pointer;
    accent-color: #2c2c2c;
}

.filter-checkbox label {
    font-size: 13px;
    cursor: pointer;
    user-select: none;
    color: #333;
}

.range-slider-container {
    margin-bottom: 15px;
}

.range-inputs {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.range-input-wrapper {
    flex: 1;
    position: relative;
}

.range-input-wrapper input {
    width: 100%;
    padding: 8px 35px 8px 10px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    font-size: 13px;
    outline: none;
    background: rgba(255, 255, 255, 0.8);
}

.range-input-wrapper .unit {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 12px;
    color: #666;
    pointer-events: none;
}

.product-type-selector {
    margin-bottom: 25px;
}

.product-type-radio {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    cursor: pointer;
    padding: 10px;
    border-radius: 8px;
    transition: all 0.3s;
}

.product-type-radio:hover {
    background: rgba(44, 44, 44, 0.05);
}

.product-type-radio input {
    width: 16px;
    height: 16px;
    margin-right: 10px;
    cursor: pointer;
    accent-color: #2c2c2c;
}

.product-type-radio label {
    font-size: 14px;
    cursor: pointer;
    user-select: none;
    color: #333;
    font-weight: 500;
}

.filter-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 20px;
    position: sticky;
    bottom: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 15px 0 0;
}

.filter-button {
    width: 100%;
    padding: 12px;
    background: rgba(44, 44, 44, 0.95);
    color: #fff;
    border: none;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s;
    letter-spacing: 0.5px;
}

.filter-button:hover {
    background: rgba(44, 44, 44, 1);
    transform: translateY(-2px);
}

.reset-button {
    background: rgba(255, 255, 255, 0.8);
    color: #2c2c2c;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.reset-button:hover {
    background: rgba(255, 255, 255, 0.95);
}

.filter-section.hidden {
    display: none;
}

@media (max-width: 1024px) {
    .custom-filters-sidebar {
        position: fixed;
        left: 0;
        top: 0;
        height: 100vh;
        max-height: 100vh;
        z-index: 1001;
        transform: translateX(-100%);
        border-radius: 0;
        width: 340px;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(30px);
        -webkit-backdrop-filter: blur(30px);
        box-shadow: 2px 0 20px rgba(0, 0, 0, 0.1);
    }

    .custom-filters-sidebar.active {
        transform: translateX(0);
    }
}

@media (max-width: 480px) {
    .custom-filters-sidebar {
        width: 100%;
    }
}