.wrap-filter .view-more {
    margin-top: 0
}

label {
    display: inline-block;
}

button {
    border-radius: 0;
}

button:focus:not(:focus-visible) {
    outline: 0;
}

input,
button {
    margin: 0;
    font-family: inherit;
    font-size: inherit;
    line-height: inherit;
}

button {
    text-transform: none;
}

button {
    -webkit-appearance: button;
}

button:not(:disabled) {
    cursor: pointer;
}

ul {
    padding: 0;
    list-style: none;
}

input,
button {
    margin: 0;
    font-family: inherit;
    font-size: inherit;
    line-height: inherit;
}

input {
    font-size: 0.9rem;
}

@media (max-width: 567px) {
    .filter {
        margin-top: 15px !important;
    }
}

label {
    font-weight: 400;
    display: inline-block;
    max-width: 100%;
}

input,
button {
    border: none;
}

.filter {
    background: #fff;
    position: relative;
    border-radius: 2px;
    border: 1px solid #aaa;
    border-top: none;
    margin-bottom: 15px;
    /* margin-top: 15px; */
}

.filter .wrap-filter {
    clear: both;
    -webkit-transition: all 200ms ease;
}

.filter .filter-attr {
    overflow: hidden;
    border-top: 1px solid #aaa;
    background-color: #f7f7f7;
    position: relative;
}

.filter div.cont-filter-attr {
    margin-left: 85px;
    overflow: hidden;
    padding-right: 25px;
    background-color: #fff;
    padding: 2px 30px 2px 0;
}

.filter div.cont-filter-attr ul {
    overflow: hidden;
    position: relative;
    list-style: none;
}

.filter div.cont-filter-attr ul li {
    width: auto;
    float: left;
    padding-left: 15px;
    height: 30px;
    line-height: 30px;
    list-style: none;
}

.filter div.cont-filter-attr ul li label {
    max-height: 30px;
    display: inline-flex;
    cursor: pointer;
    font-size: 13px;
    white-space: nowrap;
    position: relative;
}

.filter div.cont-filter-attr ul li label button {
    padding: 0 4px 0 20px;
    background: none;
}

.filter div.cont-filter-attr ul li span.radio,
.filter div.cont-filter-attr ul li span.checkbox {
    margin: 0;
    font-size: 0.8rem;
    color: #333;
    cursor: pointer;
    white-space: nowrap;
    font-weight: 300;
    position: unset;
}

.filter div.cont-filter-attr ul li span.radio {
    margin: 0;
    font-size: 0.8rem;
    color: #333;
    cursor: pointer;
    white-space: nowrap;
    font-weight: 300;
}

.cont-filter-attr ul li label input[type="checkbox"]:checked+.checkbox:before {
    border: 1px solid #0068d9;
}

.filter div.ttl-left {
    width: 140px;
    float: left;
    padding: 8px 0 0 8px;
    background: #f7f7f7;
    font-weight: 700;
    color: #595959;
    position: relative;
    font-size: 0.9rem;
}

.filter .filter-attr:before {
    content: "";
    display: block;
    position: absolute;
    width: 1px;
    top: 0;
    bottom: 0;
    left: 140px;
    z-index: 1;
    background-color: #aaa;
}

.filter div.cont-filter-attr a.view-more {
    display: block;
    position: absolute;
    top: 5px;
    right: 4px;
    text-align: center;
    -webkit-transition: all 0.2s linear;
    -moz-transition: all 0.2s linear;
    -o-transition: all 0.2s linear;
    transition: all 0.2s linear;
}

.filter div.cont-filter-attr ul.active {
    height: 30px;
}

.view-more i.fa-caret-up {
    display: none;
}

.view-more i {
    padding: 10px 10px;
    display: flex;
    border-radius: 3px;
}

.view-more i:hover {
    background-color: #0068d9;
    color: #fff;
}

/* .view-more i:hover:before {
                  border-top: 5px solid #fff;
                } */

.cont-filter-attr ul li label .radio:before {
    content: "";
    cursor: pointer;
    position: absolute;
    width: 14px;
    height: 14px;
    top: 7px;
    left: 0;
    border: 1px solid #bbbbbb;
    border-radius: 50%;
}

.cont-filter-attr ul li label .checkbox:before {
    content: "";
    cursor: pointer;
    position: absolute;
    width: 14px;
    height: 14px;
    top: 7px;
    left: 0;
    border: 1px solid #bbbbbb;
}

.cont-filter-attr ul li label .checkbox:after {
    opacity: 0;
    content: "";
    position: absolute;
    width: 9px;
    height: 4px;
    background: transparent;
    top: 11px;
    left: 2px;
    border: 2px solid #0068d9;
    border-top: none;
    border-right: none;
    transform: rotate(-45deg);
}

.cont-filter-attr ul li label .radio:after {
    opacity: 0;
    content: "";
    position: absolute;
    width: 8px;
    height: 8px;
    background: transparent;
    top: 10px;
    left: 3px;
    border: 2px solid #0068d9;
    border-radius: 50%;
    background: #0068d9;
}

.filter div.cont-filter-attr ul li label:hover span {
    color: #4585f4;
}

.filter div.cont-filter-attr ul li label:hover span:after {
    opacity: 1;
}

.cont-filter-attr ul li label input[type="checkbox"]:checked+.checkbox:after {
    opacity: 1;
}

.cont-filter-attr ul li label input[type="radio"]:checked+.radio:after {
    opacity: 1;
}

.filter div.cont-filter-attr ul li label input {
    margin: -4px 5px 0 0;
    vertical-align: middle;
    opacity: 0;
    position: absolute;
}

/* SORT PRODUCT */
.tools .filter_sort {
    width: 100%;
    display: inline-flex;
    margin-bottom: 15px;
}