.container{
    margin: auto;
    margin-top: 20vh;
    margin-bottom: 10vh;
    display: flex;
    width: 80vw;
    gap: 1vw;
}


.sidebar{
    width: 15vw;
    background-color: rgba(var(--secbackgroundcolor),0.7);
    padding: 2% 1vw ;
    display: flex;
    flex-direction: column;
    row-gap: 1vh;
    border-radius: 1em;
}
.sidebar hr{
    border: 1px solid rgb(var(--secbackgroundcolor));
    width: 100%;
}
.categories{
    display: flex;
    flex-direction: column;
    row-gap: 1vh;
}

.categorybox{
    overflow: hidden;
    height: 2em;
    display: flex;
}
.categorybox input{
    display: none;
}
.categorybox label{
    flex: 1;
    box-sizing: border-box;
    padding: 0.5em;
}


.categorybox>input:checked + label::before {
    width: 100% !important;
}
.categorybox>input:checked + label::after {
    width: 2% !important;
}

.price{
    display: flex;
    flex-direction: column;
}
.price>div{
    display: flex;
    gap: 5%;
}
.price>div>input{
    width: 40%;
    border-radius: 1em;
    border: 1px solid rgb(var(--secondarycolor));
    background-color: transparent;
    padding: 2% 5%;
    outline: none;
}
.price>div>input:hover,.price>div>input:focus ,.price>div>input:not(:placeholder-shown){
    border-color: rgb(var(--primarycolor));
}


.content{
    width: 65vw;
    display: flex;
    flex-direction: column;
    row-gap: 1vh;
}
.searchbar{
    display: flex;
    justify-content: flex-start;
    align-items: center;
    background-color: rgba(var(--secbackgroundcolor), 0.8);
    border-radius: 1em;
    width: 100%;
    height: 5vh;
    justify-content: space-between;
    box-sizing: border-box;
    align-items: center;
    padding: 0 5%;
}
.searchbar>div{
    background-color: rgba(var(--primarycolor),0.05);
    height: 80%;
    display: flex;
    align-items: center;
    width: 50%;
    border-radius: 1em;
    padding: 0 1%;
    box-sizing: border-box;
    gap: 2%;
}
.searchbar>div>label svg{
    height: 1em;
    width: 1em;
}

.searchbar >div>input{
    font-size: 1.1em;
    font-weight: normal;
    background-color: transparent;
    border: none;
    outline: none;
    flex: 1;
}


.searchbar >select{
    background-color: transparent;
    border: none;
    outline: none;
    cursor: pointer;
}
.searchbar  > select option {
    background-color: rgb(var(--backgroundcolor));
}


.productscontainer{
    flex: 9;
    background-color: transparent;
    display: flex;
    flex-wrap: wrap;
    padding: 1vh 2vw;
    gap: 4vh 1.5vw;
    box-sizing: border-box;
    margin-top: 5vh;
}







#paglinks_holder{
    display: flex;
    gap: 0.2em;
    width: fit-content;
    height: 1.5em;
    margin-left: auto;
    margin-top: auto;
}
.page_link{
    flex: 1;
    border: 1px solid rgba(var(--primarycolor),0.5);
    cursor: pointer;
    white-space: nowrap;
    width: 1.5em;
    min-width: fit-content;
    padding: 0.2em 0.5em;
    border-radius: 0.2em;
    background-color: rgba(var(--secondarycolor),0.3);
    transition: all 0.3s ease;
}
.page_link:hover:not(:disabled){
    background-color: rgba(var(--primarycolor),0.8);
}
.page_link_active{
    background-color: rgba(var(--primarycolor),0.8);
}
.page_link:disabled{
    background-color: rgba(var(--primarycolor),0);
    cursor: default;
}

.filters_count{
    display: flex;
    align-items: center;
    gap: 0.5em;
}
.filters_count button{
    background-color: transparent;
    border: none;
    outline: none;
    display: flex;
    cursor: pointer;
}
.filters_count button:hover svg{
    fill: rgba(var(--primarycolor),0.8);
}
.filters_count button svg{
    height: 1.2em;
    width: 1.2em;
    transition: all 0.3s ease;
}
