
.shop-filter {
    display: flex;
    padding-bottom: 0;
    position: relative;
    margin-bottom: 0 !important;
}

.shop-filter-default {
    display: flex;
    flex-wrap: wrap;
    flex: 1;
    margin: -10px;
}

@media only screen and (min-width: 992px) and (max-width: 1199px),
only screen and (min-width: 1200px) and (max-width: 1599px) {
    .shop-filter-default {
        margin: -5px;
    }
}

.shop-filter-default > * {
    padding: 10px;
}

@media only screen and (min-width: 992px) and (max-width: 1199px),
only screen and (min-width: 1200px) and (max-width: 1599px) {
    .shop-filter-default > * {
        padding: 5px;
    }
}

@media only screen and (max-width: 767px),
only screen and (min-width: 768px) and (max-width: 991px) {
    .shop-filter-default > * {
        width: 50%;
    }
}

@media only screen and (max-width: 575px) {
    .shop-filter-default > * {
        width: 100%;
    }
}

.shop-filter-count {
    font-size: 18px;
    font-weight: 400;
    line-height: 1.8;
    color: #363636;
    white-space: nowrap;
}

@media only screen and (max-width: 767px),
only screen and (min-width: 768px) and (max-width: 991px),
only screen and (min-width: 992px) and (max-width: 1199px),
only screen and (min-width: 1200px) and (max-width: 1599px) {
    .shop-filter-count {
        font-size: 16px;
    }
}

.shop-filter-sort-by {
    position: relative;
}

.shop-filter-sort-by__label {
    font-size: 18px;
    font-weight: 400;
    line-height: 1.8;
    color: #363636;
    cursor: pointer;
    white-space: nowrap;
}

@media only screen and (max-width: 767px),
only screen and (min-width: 768px) and (max-width: 991px),
only screen and (min-width: 992px) and (max-width: 1199px),
only screen and (min-width: 1200px) and (max-width: 1599px) {
    .shop-filter-sort-by__label {
        font-size: 16px;
    }
}

.shop-filter-sort-by__label i {
    font-size: 12px;
    margin-left: 10px;
    transition: all 0.3s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.shop-filter-sort-by__dropdown {
    right: 0;
    position: absolute;
    background-color: #fff;
    z-index: 3;
    border: 1px solid #dedede;
    transition: all 0.3s cubic-bezier(0.22, 0.61, 0.36, 1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
}

.shop-filter-sort-by__dropdown li {
    display: block;
    border-bottom: 1px solid #dedede;
}

.shop-filter-sort-by__dropdown li a {
    padding: 7px 15px;
    white-space: nowrap;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.867;
    max-width: 100%;
    display: flex;
    align-items: center;
}

.shop-filter-sort-by__dropdown li a i {
    margin-left: 10px;
}

.shop-filter-sort-by__dropdown li.active a,
.shop-filter-sort-by__dropdown li:hover a {
    background-color: #f1f0f0;
}

.shop-filter-sort-by:hover .shop-filter-sort-by__label i {
    transform: rotate(180deg);
}

.shop-filter-sort-by:hover .shop-filter-sort-by__dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.shop-filter-button {
    flex-shrink: 0;
    padding-left: 20px;
}

.shop-filter-button__btn {
    font-size: 20px;
    font-weight: 400;
    line-height: 30px;
    color: #363636;
    padding: 4px 12px 2px;
    border: 1px solid #d9d9d9;
    background-color: transparent;
}

.shop-filter-button__btn i {
    margin-left: 3px;
}

.shop-filter-button__btn:focus {
    color: #363636;
}

.shop-filter-widget {
    position: absolute;
    right: 0;
    top: 100%;
    width: 100%;
    z-index: 4;
    padding: 40px;
    background-color: #fff;
    box-shadow: 0 0 32px 0 rgba(0, 0, 0, 0.05);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.22, 0.61, 0.36, 1);
}

@media only screen and (max-width: 767px),
only screen and (min-width: 768px) and (max-width: 991px),
only screen and (min-width: 992px) and (max-width: 1199px) {
    .shop-filter-widget {
        position: fixed;
        left: 0;
        right: auto;
        width: 320px;
        height: 100%;
        top: 0;
        z-index: 111;
        overflow-y: auto;
        overflow-x: hidden;
        opacity: 1;
        visibility: visible;
        transform: translateX(-100%);
    }
}

.shop-filter-widget.open {
    opacity: 1;
    visibility: visible;
}

@media only screen and (max-width: 767px),
only screen and (min-width: 768px) and (max-width: 991px),
only screen and (min-width: 992px) and (max-width: 1199px) {
    .shop-filter-widget.open {
        transform: translateX(0);
    }
}

.shop-filter-dropdown__btn {
    font-size: 18px;
    font-weight: 500;
    line-height: 20px;
    padding: 15px 20px;
    border: 1px solid #d6d6d6;
    width: 100%;
    min-width: 200px;
    text-align: left;
    background: none;
    color: #363636;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

@media only screen and (min-width: 992px) and (max-width: 1199px),
only screen and (min-width: 1200px) and (max-width: 1599px) {
    .shop-filter-dropdown__btn {
        font-size: 16px;
        padding: 13px;
    }
}

@media only screen and (max-width: 767px),
only screen and (min-width: 768px) and (max-width: 991px) {
    .shop-filter-dropdown__btn {
        min-width: 0;
        font-size: 16px;
        padding: 13px;
    }
}

.shop-filter-dropdown__btn .icon {
    margin-left: 10px;
}

.shop-filter-dropdown .widget-item {
    border-radius: 0;
    border: 0;
    padding: 0;
}

.shop-filter-dropdown .widget-item__filter {
    min-width: 300px;
    overflow-y: auto;
    max-height: 265px;
    background-color: #fff;
    padding: 25px;
    box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.1);
}

@media only screen and (max-width: 767px) {
    .shop-filter-default > * {
        display: flex;
        flex-direction: column;
    }
}
