main {
    margin-bottom:80px;
}

* {
    font-family: Nunito;
}

.main-content {
    width: 90%;
    margin: auto;
}

.toolbar, .main-content, .toolbar-left, .product-bottom-reviews, .product-bottom-buttons {
    display: flex;
    flex-direction: row;
}

.product-top-buttons,  .sorting-section-inner{
    display: flex;
    flex-direction: column;
}

.sorting-section-inner > .shop-now{
    width: max-content;
    margin-bottom: 28px;
}
.left-sidebar {
    width: 20%;
    padding-right: 15px;
}

.sorting-section {
    padding: 10px 15px;
    margin-bottom: 30px;
    border: 1px solid #eee;
    border-radius: 5px;
}

.sorting-section-title-parent{
    border-bottom: 1px solid #eee;
}

.sorting-section-title {
    font: 500 15px Nunito;
    margin: 0;
    padding: 0 0 10px;
    border-color: #742CFE;
    border-bottom: #742CFE 1px solid;
    width: max-content;
}

.sorting-section-range{
    margin: 28px 0;
}

.sorting-section > .shop-now {
    display: block;
    width: max-content;
    padding: 9px 24px;
    font-size: 14px;
    border-radius: 5px;
    margin-bottom: 10px;
}

.prices-ranges{
    font: 400 12px Nunito;
}

.tags {
    padding: 10px 0 0;
    display: flex;
    flex-wrap: wrap;
    flex-direction: inherit !important;
}

.tag {
    color: black;
    display: block;
    width: max-content;
    border: 1px solid #eee !important;
    font-family: Nunito;
    font-size: 11px;
    color: #808080;
    padding: 7px;
    margin: 4px 2px;
    border-radius: 5px;
}

.tag:hover { 
    color: white;
    background-color: #742CFE;
}



.right-content {
    width: 80%;
    padding-left: 15px;
}

.toolbar{
    justify-content: space-between;
    width: 100%;
    margin-bottom: 10px;
}

.toolbar-left {
    align-items: center;
}

.toolbar-left > i{
    font-size: 25px;
}

.toolbar-left-desc{
    font: 200 14px Nunito;
    margin-left: 12px;
}

.view-selected {
    color: #742CFE;
}

.product-top {
    position: relative;
}

.product-image{
    border-radius: 20px;
    min-width: 100%;
    min-height: 100%;
}

.product-image-hover {
    position: absolute;
    top: 45%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0; 
}

.sale-over {
    color: white;
    background-color: #742CFE;
    position: absolute;
    left: 20px;
    top: 20px;
    border-radius: 20px;
    padding: 5px 12px;
    font: 100 15px Nunito;
}

.add-product-to-cart{
    width: 180px;
    position: absolute;
    left: 50%; 
    bottom: 10%;
    transform: translateX(-50%);
    padding: 15px;
    border-radius: 30px;
    background-color: #742CFE;
    color: white;
    text-align: center;
    font: 500 20px Nunito;
    opacity: 0;
}

.product-top-buttons {
    position: absolute;
    right: 20px;
    top: 10px;
    opacity: 0; 
}

.product-top-button{
    background-color: #fff;
    border-radius: 49%; 
    color: black;
    height: 52px;
    width: 52px;
    position: relative; 
    margin: 5px 0; 
}

.list-view-display .product-top-button{
    margin: 0 6px;
}

.product-top:hover > .product-top-buttons, .product-top:hover > .add-product-to-cart{
    opacity: 1;
    transition: opacity 400ms ease-in-out;
}

.product-top:not(:hover) > .product-top-buttons, .product-top:not(:hover) > .add-product-to-cart{
    opacity: 0;
    transition: opacity 400ms ease-in-out;
}

.product-top:hover > .product-image-hover{
    opacity: 1;
    transition: all 400ms ease-in-out;
    top: 50%;
}

.product-top:not(:hover) > .product-image-hover{
    transition: all 400ms ease-in-out;
    opacity: 0;
    top: 45%;
}

.product-top-button > i {
    text-align: center;
    font-size: 30px;
    position: absolute;  
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.product-name {
    font: 800 22px Nunito;
    margin: 0;
    padding-bottom: 5px;
}

.product-bottom-reviews {
    justify-content: space-between;
}

.product-bottom-desc{
    margin: 10px 0;
    display: inline-block;
    width: 300px;
    height: 45px;
    overflow: hidden;
    text-overflow: ellipsis;
}

.list-view-display .shop-now{
    font-size:16px;
}

.list-view-display .product-top-button {
    border: 1px solid #888;
}

.product-price{
    font: 600 22px Nunito;
    color: #742CFE;
}


.stars{
    display: flex;
}

.stars > i {
    color: #fcae01;
}



.summer-sale {
    background-image: url("../img/images/summer-sale.jpg");
    background-position: center center;
    background-repeat: no-repeat;
    width: 100%;
    height: 700px;
    margin-bottom:80px;
}

.summer-sale-left {
    width: 90%;
    margin: auto; 
}

.summer-sale-left-text{
    padding-top:40px;
    width: 50%;
}

.summer-sale-left-text > .shop-now{
    width:max-content;
    display: block;
    margin-top: 40px;
}

.grid-view-display {
    padding-top: 15px;
    width: 100%;
    display: grid; 
    grid-template-columns: repeat(3, 1fr);
    column-gap: 40px;
    row-gap: 40px;
    margin-bottom: 30px;
}

.grid-view-display .product-bottom-desc, .grid-view-display .product-bottom-buttons{
    display:none;
}

.list-view-display {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.list-view-display .product-top{
    max-width: 25%;
}

.ui-slider-horizontal {
    height: 0.1em;
}

#slider {
    margin: 20px 0;
}

.ui-slider-horizontal .ui-slider-handle{
    background-color: #742CFE !important;
    border-radius: 50%;
    width: 0.8em;
    height: 0.8em;
}

.list-view-display > .product{
    display: flex;
    flex-direction: row;
    border: 1px solid #eee;
    border-radius: 20px;
}

.list-view-display .product-bottom {
    padding: 35px 20px 10px 20px;
    display: flex;
    flex-direction: column;
}

.list-view-display .product {
    margin: 15px 0;
}

.list-view-display .product-bottom-reviews{
    display: flex;
    flex-direction: column-reverse;
}

.pagination{
    text-align: right;
    color: black;
    width: 100%;
}

.page-number {
    font: 500 18px Nunito;
    padding: 5px;
    border-radius:5px; 
}

.page-selected {
    background-color: #742CFE;
    color: white;
}

@media only screen 
    and (max-device-width: 768px), 
    only screen and (max-device-width: 768px), 
    only screen and (max-width: 768px){

        .main-content, .product-bottom-reviews, .sorting-section-inner, .list-view-display .product {
            display: flex;
            flex-direction: column;
        }

        .grid-view-display {
            grid-template-columns: repeat(2, 1fr);
        }

        .left-sidebar, .right-content{
            width: 100%;
            padding: 0;
        }
        
        section, .toolbar{
            width: 100%;
        }

        .toolbar-left-desc{
            display: none;
        }
        
        .sorting-section-title-parent{
            display: flex;
            flex-direction: row;
            justify-content:space-between;
            width: 100%;
        }

        .sorting-section{
            border: 0;
            padding: 0;
        }

        .sorting-section-inner {
            height: 0; 
            transform: scaleY(0);
        }

        .sorting-section-inner-active {
            height: auto; 
            transform: scaleY(1);
        }

        .list-view-display .shop-now{
            display: none;
        }

        .product-top-button{
            width: 30px;
            height: 30px;
            border-radius: 10px;
        }
        
        .product-top-button > i {
            font-size: 20px;
        }
    }


    @media only screen and (min-width: 768px) and (max-width: 1024px),
    screen and (min-device-width: 768px) and (max-device-width: 1024px){
        .grid-view-display {
            grid-template-columns: repeat(2, 1fr);
        }

        .main-content {
            width: 100%;
        }
        
        .left-sidebar{
            width: 35%;
        }

        .list-view-display .product-top {
            min-width: 40%;
        }

        .sorting-section  {
            border: none !important;
        }

        .right-content  {
            padding-right: 15px;
        }
        .toolbar-left-desc{
            display: none;
        }

        .list-view-display .shop-now{
            display: none;
        }

        .product-top-button{
            width: 30px;
            height: 30px;
            border-radius: 10px;
        }
        
        .product-top-button > i {
            font-size: 20px;
        }

        .only-responsive{
            display: none;
        }
    }