.product_list {
    padding-bottom: 50px;
    .product_title {
        padding: 10px;
        padding-bottom: 20px;
        padding-top: 20px;
        font-size: 24px;
        font-weight: bold;
        color: rgba(41, 40, 91, 1);
    }
    .product_taskbar {
        border-bottom: 1px solid rgba(0, 0, 0, 0.16);
        height: 45px;
        width: calc(100% - 20px);
        margin: 0 auto;
        background-image: url("../../assets/Group109_2.png");
        background-position: left;
        background-repeat: no-repeat;
        background-size: 12px;
        .filter {
            width: 45px;
            height: 45px;
            cursor: pointer;
        }
        .viewset {
            width: 45px;
            height: 45px;
            cursor: pointer;
            .grid_view {
                width: 50%;
                height: 100%;
                cursor: pointer;
                background-position: center;
                background-repeat: no-repeat;
                background-size: 15px;
                background-image: url("../../assets/Group111_2.png");
            }
            .line_view {
                background-image: url("../../assets/Group110_2.png");
                cursor: pointer;
            }
        }
    }
    .grid_view {
        li {
            width: 100%;
            transition-timing-function: ease-in-out;
            transition: 1s;
            transform: translateX(0);
            .product_image {
                height: 390px;
            }
        }
    }
    ul {
        padding: 10px;
        padding-bottom: 0px;
        padding-top: 0px;
        margin: 0px;
        li {
            width: calc(100% - 50%);
            display: inline-block;
            border: 10px solid #fff;
            border-top: none;
            border-bottom: none;
            margin-bottom: 20px;
            transition-timing-function: ease-in-out;
            transform: translateX(2%);
            transition: 1s;
            .product_image {
                height: 235px;
                position: relative;
                .featured_badge {
                    position: absolute;
                    top: 20px;
                    left: 0px;
                    color: #fff;
                    background-color: rgba(41, 40, 91, 1);
                    padding: 2px;
                    padding-left: 10px;
                    padding-right: 10px;
                    font-size: 13px;
                }
                .fav_icon {
                    position: absolute;
                    top: 10px;
                    right: 10px;
                    font-size: 27px;
                    width: 30px;
                    height: 30px;
                    background-image: url("../../assets/Group32_2.png");
                    background-position: center;
                    background-repeat: no-repeat;
                    background-size: 24px;
                }
                .fav_fill {
                    position: absolute;
                    top: 10px;
                    right: 10px;
                    font-size: 27px;
                    width: 30px;
                    height: 30px;
                    background-image: url("../../assets/fav_fill.png");
                    background-position: center;
                    background-repeat: no-repeat;
                    background-size: 24px;
                }
                img {
                    width: 100%;
                    height: 100%;
                    object-fit: cover;
                    object-position: center;
                }
            }
            h5 {
                margin: 0px;
                padding: 0px;
                color: rgba(59, 57, 77, 1);
                padding-top: 5px;
                padding-bottom: 5px;
            }
            p {
                margin: 0px;
                padding: 0px;
                color: rgba(176, 174, 199, 1);
                span {
                    text-decoration: line-through;
                    margin-left: 10px;
                    color: rgba(215, 213, 228, 1)
                }
                .offer {
                    color: #fff;
                    background-color: rgba(41, 40, 91, 1);
                    border-radius: 4px;
                    text-decoration: none;
                    padding: 3px;
                    font-size: 13px;
                }
            }
        }
    }
    .ellipse {
        white-space: nowrap;
        width: 180px;
        overflow: hidden;
        text-overflow: ellipsis;
    }
}

.sort_wrappper {
    height: 100vh;
    width: 100%;
    position: fixed;
    top: 0px;
    left: 0px;
    right: 0px;
    bottom: 0px;
    background: rgba(0, 0, 0, 0.6);
    z-index: 99;
    .sort_inner {
        margin: 0 auto;
        width: 280px;
        padding: 10px;
        padding-left: 15px;
        padding-right: 15px;
        padding-bottom: 15px;
        background-color: #fff;
        position: relative;
        -webkit-box-shadow: 0px 1px 5px 0px rgba(0, 0, 0, 0.3);
        -moz-box-shadow: 0px 1px 5px 0px rgba(0, 0, 0, 0.3);
        box-shadow: 0px 1px 5px 0px rgba(0, 0, 0, 0.3);
        top: 25%;
        border-radius: 10px;
        h4 {
            text-align: center;
            color: rgba(59, 57, 77, 1);
            margin: 0px;
            font-weight: bold;
            padding: 10px;
            font-size: 18px;
            border-bottom: 1px solid rgba(0, 0, 0, 0.16);
            padding-bottom: 20px;
        }
        ul {
            margin: 0px;
            padding: 0px;
            li {
                list-style: none;
                border-bottom: 1px solid rgba(0, 0, 0, 0.16);
                padding-top: 10px;
                padding-bottom: 10px;
                .styled-checkbox {
                    position: absolute; // take it out of document flow
                    opacity: 0; // hide it
                    &+label {
                        position: relative;
                        cursor: pointer;
                        padding: 0;
                        width: 100%;
                    }
                    // Box.
                    &+label:before {
                        content: '';
                        margin-right: 10px;
                        display: inline-block;
                        vertical-align: text-top;
                        width: 20px;
                        height: 20px;
                        border-radius: 5px;
                        background: white;
                        border: 1px solid rgba(215, 213, 228, 1);
                    }
                    &:checked+label:before {
                        background: #29285b;
                    }
                    // Disabled state label.
                    &:disabled+label {
                        color: #b8b8b8;
                        cursor: auto;
                    }
                    // Disabled box.
                    &:disabled+label:before {
                        box-shadow: none;
                        background: #ddd;
                    }
                    // Checkmark. Could be replaced with an image
                    &:checked+label:after {
                        content: '';
                        position: absolute;
                        left: 6px;
                        top: 10px;
                        background: white;
                        width: 2px;
                        height: 2px;
                        box-shadow: 2px 0 0 white, 4px 0 0 white, 4px -2px 0 white, 4px -4px 0 white, 4px -6px 0 white, 4px -8px 0 white;
                        transform: rotate(45deg);
                    }
                }
            }
        }
        .sort_footer {
            padding-top: 10px;
            button {
                border-radius: 8px;
                height: 40px;
                width: 48%;
                color: #fff;
                font-size: 15px;
                font-weight: lighter;
            }
            .submit {
                background-color: rgba(41, 40, 91, 1);
            }
            .cancel {
                background-color: rgba(215, 213, 228, 1);
            }
        }
    }
}