﻿
* {
    box-sizing: border-box;
}
.shopping-cart {
    width: 100%;
    /*height: 423px;*/
/*    margin: 80px auto;*/
    background: #FFFFFF;
    box-shadow: 1px 2px 3px 0px rgba(0,0,0,0.10);
    border-radius: 6px;
    display: flex;
    flex-direction: column;
}

.title {
    height: 60px;
    border-bottom: 1px solid #E1E8EE;
    padding: 20px 30px;
    color: #5E6977;
    font-size: 18px;
    font-weight: 400;
}

.item {
    padding: 20px 30px;
    /*height: 120px;*/
    display: flex;
}

    .item:nth-child(even) {
        border-top: 1px solid #E1E8EE;
        border-bottom: 1px solid #E1E8EE;
    }

.buttons {
    position: relative;
    padding-top: 30px;
    margin-right: 60px;
}

.delete-btn,
.like-btn {
    display: inline-block;
    Cursor: pointer;
}

.delete-btn {
    width: 18px;
    height: 17px;
    background: url('/Icons/delete-icn.svg') no-repeat center;
}

.like-btn {
    position: absolute;
    top: 9px;
    left: 15px;
    background: url('/Icons/twitter-heart.png');
    width: 60px;
    height: 60px;
    background-size: 2900%;
    background-repeat: no-repeat;
}

.is-active {
    animation-name: animate;
    animation-duration: .8s;
    animation-iteration-count: 1;
    animation-timing-function: steps(28);
    animation-fill-mode: forwards;
}

@keyframes animate {
    0% {
        background-position: left;
    }

    50% {
        background-position: right;
    }

    100% {
        background-position: right;
    }
}

.image {
    margin-right: 0px;
}

    .image img {
        width: 120px;
        height: 80px;
    }


.description {
    padding-top: 10px;
    margin-right: 20px;
    width: 200px;
}

    .description span {
        display: block;
        font-size: 18px;
        color: #43484D;
        font-weight: 400;
    }

        .description span:first-child {
            margin-bottom: 5px;
        }

        .description span:last-child {
            font-weight: 300;
            margin-top: 8px;
            color: #86939E;
        }

.quantity {
    padding-top: 20px;
    margin-left: 15px;
    margin-right: 15px;
}

    .quantity input {
        -webkit-appearance: none;
        border: none;
        text-align: center;
        width: 32px;
        font-size: 16px;
        color: #43484D;
        font-weight: 300;
    }

button[class*=btn] {
    width: 30px;
    height: 30px;
    background-color: #E1E8EE;
    border-radius: 6px;
    border: none;
    cursor: pointer;
}

.minus-btn img {
    margin-bottom: 3px;
    vertical-align: unset;
}

.plus-btn img {
    margin-top: 2px;
    vertical-align: unset;
}

button:focus,
input:focus {
    outline: 0;
}

.total-price {
    width: 150px;
    padding-top: 27px;
    text-align: center;
    font-size: 16px;
    color: #43484D;
    font-weight: 300;
    /*border:1px solid  cornflowerblue;*/
}

.hidden-larg {
    display: inline;
}

.hidden-small {
    display: none;
}

.description-name {
    width: 200px;
    text-align: center;
}

.image-name {
    min-width: 120px;
    text-align: center;
}

.price-name {
    width: 120px;
    text-align: center;
}

.quantity-name {
    width: 120px;
    text-align: center;
}

.total-price-name {
    width: 150px;
    text-align: center;
}

.total-price-name,
.quantity-name,
.price-name,
.image-name,
.description-name {
    display: inline-block;
}

.price {
    padding-top: 27px;
    margin-right: 20px;
    width: 100px;
}

.post {
    text-align: center;
    color: darkmagenta;
}

.jam {
    text-align: center;
    color: darkmagenta;
}

@media (max-width: 800px) {
    .shopping-cart {
        width: 100%;
        height: auto;
        overflow: hidden;
    }

    .item {
        height: auto;
        flex-wrap: wrap;
        justify-content: center;
    }

    .image img {
        /*width: 50%;*/
    }

    .image,
    .quantity,
    .description {
        width: 100%;
        text-align: center;
        margin: 6px 0;
    }

    .total-price {
        width: 100%;
    }

    .price {
        width: 100%;
        text-align: center;
    }

    .buttons {
        /*width: 100%;*/
        margin-left: 20px;
        display: block;
    }

    .delete-btn,
    .like-btn {
        display: block;
        Cursor: pointer;
    }

    .hidden-larg {
        display: none;
    }

    .hidden-small {
        display: inline;
    }
}
