/* product filter */
/* product filter */
.product__filter {
    padding: 10px 0;
    background-color: var(--white-color);
    z-index: 1;
    font-size: 1.4rem;
}
.product__filter__container {
    position: relative;
}

.product__filter__container-title {
    padding: 10px 20px;
    color: var(--black-color);
    /* border: 1px solid var(--black-color); */
    text-align: center;
    background-color: var(--second-color);
    cursor: pointer;
}
.product__filter__container-title i {
    position: relative;
    top: 2px;
}
.product__filter__container-content {
    font-size: 1.3rem;
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: var(--white-color); /* Fallback color */
}

.filter2_title {
    padding: 10px 20px;
    color: var(--black-color);
    /* border: 1px solid var(--black-color); */
    text-align: center;
    background-color: var(--second-color);
    cursor: pointer;
}
.filter2_title i {
    position: relative;
    top: 2px;
}
.filter2_content {
    font-size: 1.3rem;
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: var(--white-color); /* Fallback color */
}
.filter2_warper {
    /* margin-bottom: 50px; */
}
.filter2_content-title {
    font-weight: bold;
    text-align: center;
    border-top: 1px solid var(--border-light-color);
    border-bottom: 1px solid var(--border-light-color);
    padding: 10px;
}
.filter2_content-title i {
    float: right;
    font-size: 2.6rem;
    color: var(--text-color);
    cursor: pointer;
}

.filter2_content-attr {
    display: block;
    /* gap: 20px;
    justify-content: space-between;
    align-items: start; */
}

.filter2_content-items-edit,
.filter2_content-items {
    /* border-bottom: 10px solid var(--second-color); */
    padding: 0 10px;
    font-size: 1.4rem;
}
/* .filter2_content-items-edit, */
.filter2_content-items p > input {
    border: 1px solid var(--border-light-color);
    width: 80px;
}
.filter2_content-item-edit {
    display: flex;
    /* gap: 10px; */
    flex-wrap: wrap;
    margin-bottom: 10px;
    /* max-height: 130px; */
    /* overflow: overlay; */
}
.filter2_content-item {
    display: flex;
    /* gap: 10px; */
    flex-wrap: wrap;
    margin-bottom: 10px;

    /* max-height: 130px; */
    /* overflow: overlay; */
}

.filter2_content-item-field-edit {
}
.filter2_content-item-field span {
}
.filter2_content-item-field-edit,
.filter2_content-item-field {
    text-align: center;
    display: table;
    width: calc((100% / 3) - 10px);
    cursor: pointer;
    padding: 8px 10px;
    border: 1px solid var(--border-light-color);
    position: relative;
    margin-right: 10px;
    margin-bottom: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.filter2_content-item-field,
.filter2_content-item-field span {
    max-height: 44px;
    overflow: hidden;
    /* display: table-cell; */
    vertical-align: middle;
}

.filter2_content-footer {
    display: flex;
    /* gap: 10px; */
    padding: 10px;
}
.filter2_content-footer div:not(:last-child) {
    /* padding: 8px 10px;
    border: 1px solid var(--black-color);
    cursor: pointer;
    text-align: center; */
    margin-right: 10px;
}
.filterActive {
    border: 1px solid var(--primary-color) !important;
    color: var(--primary-color);
}
.filter2_content-footer div:nth-of-type(1) {
    flex-basis: 32.9%;
}
.filter2_content-footer div:nth-of-type(2) {
    flex-basis: 68.1%;
    background-color: var(--second-color);
    border: 1px solid var(--second-color);
}
.filter2_content-footer div:nth-of-type(2):hover {
    background-color: #bdbdbd;
}
/* end product filter */

/* responesive */
@media (min-width: 740px) {
    /* product filter */

    .product__filter {
        display: inline-block;
        padding: 0;
    }

    .filter2_content-title {
        font-size: 1.6rem;
    }
    .filter2_content {
        background-color: rgba(0, 0, 0, 0.8);
    }
    .filter2_warper {
        width: 740px;
        background-color: var(--white-color);
        margin: auto;
        /* position: absolute; */
        /* left: 50%; */
        /* top: 50%; */
        /* transform: translate(-50%, -50%); */
    }

    .filter2_content-attr {
        display: flex;
        gap: 20px;
        justify-content: space-between;
        align-items: start;
        border-bottom: 10px solid var(--second-color);
    }

    .filter2_content-items-edit {
        /* padding: 0 20px; */
        width: calc((100% / 2) - 10px);
    }
    .filter2_content-item-edit {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
        justify-content: space-between;
    }
    .filter2_content-item-field-edit {
        /* flex-basis: auto; */
        /* width: 45%; */
        width: calc((100% / 2) - 10px);
        margin-right: 0px;
        /* margin-bottom: 10px; */
    }

    .filter2_content-item-field {
        width: calc((100% / 6) - 10px);
    }

    .filter2_content-item {
    }
    /* end product filter */
}
