
.container{
    display: flex;
    align-items: flex-start;
    gap: 50px;
    max-width: 1200px;
    margin: auto;
    padding: 20px;
}

.filters{
    width: 260px;
    flex-shrink: 0;
    background: #fff;
    padding: 15px;
}

#productsqweasd{
    flex: 1;
    min-width: 0;
}

.products{
    flex:1;
    background:white;
    padding:20px;
}

details{
    border:1px solid #ddd;
    margin-bottom:15px;
    width: min-content;
    min-width: 270px;
}

summary{
    padding:12px;
    cursor:pointer;
    font-weight:bold;
    width: min-content;
    min-width: 250px;
}

.filter-item{
    padding:8px 15px;
}

.mobile-filter-btn{
    display:none;
    margin:15px;
    padding:10px 18px;
    background:#005baa;
    color:white;
    border:none;
    cursor:pointer;
}

.overlay{
    display:none;
}

.actions{
    display:none;
}


.extra-filter {
    display: none;
}

.filter-options.show-all .extra-filter {
    display: block;
}

.show-more-button {
    border: 0;
    background: transparent;
    color: #087cff;
    padding: 0 14px 14px;
    font-size: 14px;
    cursor: pointer;
}

.show-more-button:hover {
    text-decoration: underline;
}


@media(max-width:768px){

    .container{
        display:block;
    }

    .mobile-filter-btn{
        display:block;
    }

    .filters{
        position:fixed;
        top:0;
        right:-100%;
        width:85%;
        height:100%;
        overflow:auto;
        z-index:1000;
        transition:.3s;
    }

    .filters.show{
        right:0;
    }

    .overlay{
        position:fixed;
        inset:0;
        background:rgba(0,0,0,.4);
        display:none;
        z-index:999;
    }

    .overlay.show{
        display:block;
    }

    .actions{
        display:flex;
        gap:10px;
        position:sticky;
        bottom:0;
        background:white;
        padding:15px;
    }

    .actions button{
        flex:1;
        padding:12px;
        cursor:pointer;
    }

}
.clear-filters-btn{
    width: 100%;
    padding: 12px 18px;
    border: none;
    border-radius: 8px;
    background: #005baa;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background .2s ease;
}

.clear-filters-btn:hover{
    background: #00488d;
}