.content .container{
    display: grid;
    grid-template-columns: 325px 1fr;
    gap: 30px;
    align-items: flex-start;
}

.top_title{
    margin: 0;
}
.display-cond{
    margin: 30px 0 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.filter-popup-btn{
    font-size: 18px;
    font-weight: 700;
    display: none;
    grid-template-columns: 20px 1fr;
    gap: 20px;
    align-items: center;
    padding: 15px 20px;
    border: 1px solid rgba(44, 51, 69, 0.1);
    border-radius: 10px;
    background: white;
    & :where(img, svg){
        width: 100%;
        height: auto;
        object-fit: contain;
    }
}
.sort{
    min-width: 265px;
    .custom-dropdown_label{
        border-radius: 10px;
        border: 1px solid rgba(44, 51, 69, 0.1);
        font: 400 17px / normal 'Rubik', Arial, Helvetica, sans-serif;
        padding: 17.5px 30px 17.5px 30px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        &:after{
            content: '';
            width: 5px;
            aspect-ratio: 1/1;
            border-right: 3px solid currentColor;
            border-bottom: 3px solid currentColor;
            transform: translate(0, -17%) rotate(45deg);
        }
    }
    .custom-dropdown_value-list{
        border-radius: 0 0 10px 10px;
        background: var(--black);
        padding: 0 0 10px 0;
    }
    .custom-dropdown_value-item{
        padding: 17.5px 30px 17.5px 30px;
        color: rgba(255, 255, 255, 0.4);
        &:hover{
            color: white;
        }
        &.active{
            color: white;
        }
    }
    .custom-dropdown_value-item:has(input:checked){
        color: white;
    }
}
.sort[open]{
    .custom-dropdown_label{
        color: white;
        border-radius: 10px 10px 0 0;
        background: var(--black);
        &:after{
            transform: translate(0, 17%) rotate(-135deg);
        }
    }
}
.product-list-wrapper{
    margin: 30px 0 0 0;
}
.product-list{
    display: grid;
    gap: 30px;
    &.vertical {
        grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
    }
    &.square{
        grid-template-columns: 1fr 1fr;
    }
    &.horizontal{
        grid-template-columns: 100%;
    }
}
.load-variants{
    margin: 30px 0 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}
.load-products{
    font-weight: 400;
}
@media (max-width: 1400px) {
    .product-list.square{
        grid-template-columns: 100%;
    }
}
@media(max-width: 1024px){
    .content .container{
        grid-template-columns: 100%;
        gap: 20px;
    }
    .filter-popup-btn{
        display: grid;
    }
    .product-list{
        gap: 20px;
    }
    .load-variants{
        margin: 20px 0 0 0;
        flex-direction: column;
    }
}
@media (max-width: 480px) {
    .filter-popup-btn_txt{
        display: none;
    }
    .filter-popup-btn{
        grid-template-columns: 100%;
    }
}