@import "/assets/css/_lib";
.filter {
    position: absolute;
    top: 0;
    right: 0;
    min-height: 36px;
    padding-left: 16px;
    background-color: #fff;
    z-index: 5;
    &::before {
        content: '';
        position: absolute;
        top: 0;
        left: -90px;
        height: 36px;
        width: 90px;
        background: linear-gradient(to right, rgba(255, 255, 255, 0), rgba(255, 255, 255, 1));
        z-index: 1;
    }
    .btn_filter {
        height: 36px;
        border: 1px solid #ddd;
        background-color: #fff;
        border-radius: 18px;
        vertical-align: top;
    }
    .btn_filter_pc {
        padding: 0 19px;
        font-size: 13px;
        line-height: 34px;
    }
    .ico_filter {
        width: 16px;
        height: 16px;
        margin: 0 9px;
    }
    .ico_filter_pc {
        width: 16px;
        height: 16px;
        margin-right: 6px;
        vertical-align: -2px;
    }
    .ly_filter {
        position: absolute;
        top: 45px;
        right: 0;
        width: 200px;
        border-radius: 12px;
        background-color: #fff;
        box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16);
        z-index: 10;
        .btn_sort {
            position: relative;
            display: block;
            width: 100%;
            padding: 0 16px;
            font-size: 13px;
            line-height: 42px;
            text-align: left;
            &[aria-pressed*="true"] {
                .ico_check {
                    display: block;
                }
            }
            .ico_check {
                display: none;
                position: absolute;
                top: 18px;
                right: 18px;
            }
        }
        .ico_sort {
            width: 16px;
            height: 16px;
            margin-right: 6px;
            vertical-align: -4px;
        }
        .ico_buy, .ico_sale, .ico_heart {
            width: 12px;
            height: 12px;
            vertical-align: -2px;
        }
    }
}
