﻿.cart-container {
    margin: 70px auto;
    padding-left: 15px;
    padding-right: 15px;
    margin-left: auto;
    margin-right: auto;
}

@media (min-width: 768px) {
    .cart-container {
        width: 750px;
    }
}

@media (min-width: 992px) {
    .cart-container {
        width: 970px;
    }
}

@media (min-width: 1200px) {
    .cart-container {
        width: 1200px;
    }
}

.cart-right-side {
    /*padding: 0 15px;*/
    width: calc(100% - 420px);
}

.cart-page .cart-left-side {
    padding: 0 !important;
    width: 400px;
}

button.quantity-selector-add svg, button.quantity-selector-remove svg {
    margin: 0 auto;
}

.cart-container {
    padding: 2em 1em;
}

.orders-color-3 {
    fill: var(--orders-color-3);
}

.empty-basket {
    padding: 20vh 0;
    font-size: 18px;
    text-align: center;
}

    .empty-basket svg {
        fill: var(--color-1);
        margin: 0 auto;
    }

.cart-page .c-box {
    padding-top: 0 !important;
}

.cart-page .title {
    padding: 12px 0 8px;
    border-bottom: 2px var(--orders-color-1) solid;
}

    .cart-page .title:before {
        display: none;
    }

.orderLine {
    background: white;
    border: 1px solid black;
    margin: 5px;
    padding: 5px;
}

#left-side .back_white {
    min-height: auto;
}

#listing-sort {
    display: flex;
    border-bottom: 1px solid #ebe9e9;
    padding: 0.5em 1em;
}

    #listing-sort .before i {
        color: #cecece;
    }

    #listing-sort ul {
        display: flex;
        list-style: none;
        margin: 0;
    }

        #listing-sort ul li a {
            padding: 0em 0.5em;
            display: block;
            border-radius: 8px;
            margin: 0 2px;
        }

            #listing-sort ul li a:hover {
                background-color: #ece9e9;
            }

            #listing-sort ul li a.is-active {
                background-color: #00bfd6;
                color: #fff;
            }

.image_product {
    position: relative;
    margin-bottom: 1rem;
    overflow: hidden;
    text-align: center;
}

.list-products ul {
    padding: 0;
}

    .list-products ul li {
        position: relative;
    }

        .list-products ul li:hover a {
            box-shadow: 0 2px 17px 0 #CCC;
            position: absolute;
            z-index: 1;
            right: 0;
            left: 0;
            top: 0;
            bottom: 0;
        }

        .list-products ul li:hover .image_product {
            background: #FFF;
        }

t .list-products ul li a {
    position: relative;
    margin-left: -1px;
    margin-top: -1px;
    /*margin-bottom: -1px;*/
    border: 1px solid #ebebeb;
    display: block;
    transition: box-shadow 0.2s cubic-bezier(0.4, 0, 1, 1), transform 0.2s cubic-bezier(0.4, 0, 1, 1), -webkit-box-shadow 0.2s cubic-bezier(0.4, 0, 1, 1), -webkit-transform 0.2s cubic-bezier(0.4, 0, 1, 1);
    padding: 10px 12px 46px;
    background: #fff;
}

.list-products ul li a img + img {
    opacity: 0;
    position: absolute;
    bottom: 0;
    top: 0;
    right: 0;
    left: 0;
    -webkit-transition: all 0.4s ease-in-out;
    transition: all 0.4s ease-in-out;
    -o-object-fit: cover;
    object-fit: cover;
    z-index: 2;
    width: 100%;
    height: 100%;
}

.list-products ul li a .fast-delivery {
    text-align: left;
    display: inline-block;
    float: left;
    overflow: hidden;
    padding: 2px 10px 2px 0;
    box-sizing: border-box;
    color: #82787f;
}

    .list-products ul li a .fast-delivery i {
        color: #a63489;
    }

.list-products ul li:hover img + img {
    opacity: 1;
}

h3 {
    clear: both;
    font-weight: 400;
    font-size: 1em;
}

.price {
    text-align: left;
    color: #000;
    letter-spacing: 0;
    font-weight: 700;
    font-size: 1.1em;
    line-height: 1.1;
}

.weight {
    color: #5bbd51;
}

/********/
.cart-item {
    display: flex;
    color: #777;
    border-bottom: 1px solid #e1e1e1;
    padding: 1em 0;
    font-size: 1rem;
}

    .cart-item .cart-item__thumb {
        width: 20%;
        min-width: 124px;
    }

        .cart-item .cart-item__thumb img {
            display: block;
            width: 100%;
        }

    .cart-item .cart-item__data {
        width: 80%;
        -webkit-box-flex: 1;
        -ms-flex-positive: 1;
        flex-grow: 1;
        padding: 0 12px 0 4px;
        display: flex;
        flex-direction: column;
    }

    .cart-item .cart-item__title {
        font-size: 1.143rem;
        line-height: 1.375;
        color: #3f3f3f;
        text-align: right;
        margin-bottom: 10px;
        margin-top: 6px;
    }

    .cart-item .cart-item__cat a {
        color: #3ecadf;
        font-weight: bold;
    }

    .cart-item .cart-item__price-row {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .cart-item .cart-item__discount {
        text-align: left;
        color: red;
        font-size: 0.8em;
    }

    .cart-item .cart-item__quantity-row {
        display: flex;
        gap: 0 1em;
        align-items: flex-end;
    }

        .cart-item .cart-item__quantity-row .delete a {
            color: #777;
            display: flex;
            gap: 5px;
            align-items: center;
        }

        .cart-item .cart-item__quantity-row .count {
            border: 1px solid #eee;
            border-radius: 8px;
            color: #0fabc6;
            width: 100px;
            height: 40px;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

            .cart-item .cart-item__quantity-row .count button {
                border: none;
                margin: 0;
                padding: 0;
                color: #0fabc6;
                background-color: #fff;
                cursor: pointer;
                width: 33%;
                text-align: center;
                height: 100%;
                border-radius: 8px;
            }

.filler {
    flex-grow: 2;
}

#right-side .back_white, #left-side .c-box {
    background: #FFF;
    border: 1px solid #e1e1e1;
    border-radius: 8px;
}

#left-side .c-box {
    padding: 2em 2em 0;
    box-sizing: border-box;
    font-size: 1rem;
}

    #left-side .c-box .widget-inner ul {
        padding: 0;
        list-style: none;
    }

        #left-side .c-box .widget-inner ul li {
            padding: 0.5em 17px;
            color: #777;
        }

        #left-side .c-box .widget-inner ul .border {
            border-top: 1px solid #e1e1e1 !important;
            border-bottom: 0 none !important;
            border-right: 0 none !important;
            border-left: 0 none !important;
            color: #000;
        }

#right-side .c-box {
    padding: 1em;
    background: #FFF;
    margin-bottom: 2em;
    border: 1px solid #e1e1e1;
    border-radius: 8px;
}

    #right-side .c-box .title {
        color: #535353;
        border-bottom: 1px solid #f2f2f2;
        font-size: 1em;
    }

    #right-side .c-box .widget-inner ul {
        padding: 0;
        list-style: none;
        font-size: 0.9em;
    }

        #right-side .c-box .widget-inner ul > li:last-child ul {
            border-bottom: 0 none;
        }

        #right-side .c-box .widget-inner ul h3 {
            font-weight: normal;
            font-size: 1.2em;
        }

            #right-side .c-box .widget-inner ul h3 a {
                color: #545454;
                font-weight: 500;
            }

        #right-side .c-box .widget-inner ul ul {
            padding-right: 3em;
            border-bottom: 1px solid #f2f2f2;
            margin-bottom: 1em;
            padding-bottom: 1em;
        }

            #right-side .c-box .widget-inner ul ul li h3 a {
                font-weight: 200;
            }

#left-side > p {
    line-height: 1.5em;
    padding: 0 1em;
    color: #929292;
    margin-top: 0.5em;
    font-size: 0.9em;
}

.checkout_items {
    padding: 0 2em;
}

    .checkout_items ul {
        list-style: none;
        padding: 0;
    }

        .checkout_items ul li:last-child .cart-item {
            border-bottom: 0 none;
        }

#left-side a.btn-add-to-cart {
    background: var(--orders-color-1);
    color: #FFF;
    width: 100%;
    display: block;
    text-align: center;
    margin: 1em auto;
    padding: 1em;
    box-sizing: border-box;
    border-radius: 8px;
    font-weight: bold;
}

    #left-side a.btn-add-to-cart:hover {
        background: var(--orders-color-2);
    }

div#cart {
    /*margin-bottom: 2em;*/
    padding-top: 0;
    box-sizing: border-box;
    width: 100%;
}

.cart-item__sender {
    display: flex;
    margin: 5px 0 10px;
    align-items: center;
}

    .cart-item__sender svg {
        margin-left: 10px;
        fill: var(--orders-color-3);
    }

.cart-item__price-row .delete {
    font-size: 1rem;
}

    .cart-item__price-row .delete svg {
        width: 24px;
        fill: red;
    }

    .cart-item__price-row .delete:hover {
        color: red;
    }

        .cart-item__price-row .delete:hover svg {
            color: red;
        }

.cart-color-3 {
}

.cart-page {
    display: flex;
    align-items: start;
    justify-content: space-between;
    gap: 40px;
}

@media(max-width: 1250px) {
    .cart-page #right-side {
        width: 68%;
    }

    .cart-page #left-side {
        width: 30%;
    }
}

@media (max-width: 991px) {
    .cart-item {
        flex-direction: column;
        align-items: center;
    }

        .cart-item .cart-item__data {
            width: 100%;
            padding: 0;
        }

    .cart-page #right-side {
        width: 56%;
    }

    .checkout_items {
        padding: 0 1em;
    }

    .cart-page #left-side {
        width: 42%;
        padding: 0;
    }

    #left-side .c-box {
        padding: 2em 1em 0;
    }

        #left-side .c-box .title {
            font-size: 21px;
            line-height: 36px;
        }
}

@media (max-width: 767px) {
    .cart-page {
        flex-direction: column;
        gap: 15px;
    }

        .cart-page #right-side {
            width: 100%;
        }

        .cart-page #left-side {
            width: 100%;
            padding: 0;
        }

    .cart-container {
        padding: 2em 0em;
    }
}

@media(max-width: 575px) {
    .empty-basket {
        padding: 7vh 0;
        font-size: 15px;
    }

        .empty-basket svg {
            width: 80px !important;
            width: 80px !important;
        }
}

@media only screen and (max-width: 47.999em) {
    #left-side {
        display: flex;
        flex-direction: column;
    }

    .list-products ul li a {
        padding: 10px 12px 15px;
    }

    #right-side .c-box {
        margin: 1em;
    }

    #listing-sort {
        flex-wrap: wrap;
    }

        #listing-sort ul {
            margin: 0;
            flex-wrap: wrap;
            padding: 0;
        }

    #right-side .widget-box {
        margin: 1em;
    }

    #left-side .back_white {
        margin: 0 1em;
    }

    .row {
        justify-content: right;
    }

    #left-side .content {
        padding: 2em;
    }

    #left-side .list-wraper {
        grid-template-columns: 100%;
    }

    #left-side {
        padding: 0;
        order: -1;
    }

    .right-side {
        padding-left: 0;
    }

    #left-side {
        order: 0;
    }

    .cart-item .cart-item__thumb {
        margin: 0 auto;
    }

    #right-side .back_white {
        margin: 1em 0 0;
    }

    .cart-item .cart-item__price-row {
        flex-wrap: wrap;
        align-items: center;
        justify-content: space-between;
    }
}
