
#catalog {
    margin: 30px 0;
}

.item {
    display: flex;
    margin-bottom: 20px;
    padding: 20px;
    background-color: #ffffff;
    transition: box-shadow 0.5s;
    position: relative;
}

.item:hover {
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
    transition: box-shadow 0.5s;
}

.item-image {
    flex: 2;
    margin-right: 30px;
}

.item-description {
    flex: 7;
}

.item-description h3 {
    font-size: 20px;
    font-weight: bold;
}

.item-description p {
    font-size: 13px;
}

.item .price,
.item-body .price {
    font-size: 21px;
    font-weight: bold;
    color: #0062e3;
}
.item .price .rub,
.item .price .kop,
.item-body .price .rub,
.item-body .price .kop {
    font-size: 14px;
    font-weight: normal;
    color: #5f5f5f;
}
.item-body .price {
    font-size: 28px
}
.item-body .price .rub,
.item-body .price .kop {
    font-size: 17px;
}
.item .more {
    float: right;
    font-size: 14px;
}

.item .add,
.item-body .add {
    display: flex;
    width: 160px;
    float: left;
    margin-right: 10px;
    margin-left: auto;
}

.item .add .plus,
.item .add .minus,
.item-body .add .plus,
.item-body .add .minus {
    width: 34px;
    border-radius: 0;
    border-top: 1px solid #0062e3;
    border-bottom: 1px solid #0062e3;
    color: #0062e3;
    font-size: 18px;
    font-weight: bold;
    text-align: center;
    height: 34px;
    line-height: 30px;
    transition: all 0.5s;
    outline: none;
}

.item .add .plus,
.item-body .add .plus {
    border-left: none;
    border-right: 1px solid #0062e3;
}

.item .add .minus,
.item-body .add .minus {
    border-right: none;
    border-left: 1px solid #0062e3;
}

.item .add input,
.item-body .add input {
    flex: 1;
    border-radius: 0;
    border: 1px solid #0062e3;
    font-weight: bold;
    text-align: center;
    height: 34px;
}

.item .add .plus:hover,
.item .add .minus:hover,
.item-body .add .plus:hover,
.item-body .add .minus:hover {
    background-color: #0062e3;
    color: #ffffff;
    transition: all 0.5s;
    cursor: pointer;
}

.item .basket,
.item-body .basket {
    width: 36px;
    height: 34px;
    text-align: center;
    transition: all 0.5s;
    float: left;
}
.item-body .add {
    margin-left: auto;
}

.item .basket .icon,
.item-body .basket .icon {
    margin-top: 5px;
    width: 24px;
    height: 24px;
    fill: #0062e3;
    transition: all 0.5s;
}

.item .basket:hover,
.item-body .basket:hover {
    background-color: #0062e3;
    transition: all 0.5s;
    cursor: pointer;
}

.item .basket:hover .icon,
.item-body .basket:hover .icon {
    fill: #ffffff;
    transition: all 0.5s;
}


.item-body .item-info {
    background-color: #ffffff;
    padding: 20px 15px 15px;
}

.item-body .item-info ul {
    padding-left: 20px;
}

.item .in-basket {
    display: none;
    opacity: 0;
    transition: opacity 1s;
}
.item.item-in-basket .in-basket {
    display: block;
    opacity: 1;
    position: absolute;
    top: -5px;
    right: -5px;
    width: 30px;
    height: 30px;
    transition: opacity 1s;
}

.item-body .in-basket {
    display: none;
    opacity: 0;
}
.item-body.item-in-basket .in-basket {
    display: flex;
    opacity: 1;
    font-size: 13px;
    font-weight: bold;
}
.item-body .in-basket img {
    width: 26px;
    height: 26px;
    margin-right: 10px;
    margin-left: auto;
}
.item-body .in-basket span {
    padding-top: 3px;
}


.basket {
    position: relative;
}

.basket .quantity,
.basket .basket-info {
    display: none;
    opacity: 0;
}

.basket.full .quantity {
    display: block;
    opacity: 1;
}

.basket:hover .basket-info {
    display: block;
    width: 260px;
    opacity: 1;
    position: absolute;
    top: 40px;
    right: -100%;
}

.basket-block {
    background-color: #ffffff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

.basket-block:after {
    content: '';
    position: absolute;
    top: -30px;
    right: 48px;
    background: white;
    border: 10px solid transparent;
    transform: rotate(45deg) translateX(15px) translateY(15px);
    box-shadow: 0 0 10px 0 #909090;
}

.basket-block .content {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    padding: 10px;
    background: #fff;
    font-size: 12px;
    color: #343434;
}



.card_item {
    display: flex;
    border-bottom: 1px solid #d6d0cf;
    padding: 10px;
    margin: -10px -10px 10px;
    text-align: left;
    position: relative;
}
.cart_item_image {
    flex: 2;
    margin-right: 10px;
}
.cart_item_name {
    color: #0062e3;
}
.cart_item_description {
    flex: 7;
}
.cart_item_price {
    margin-top: 5px;
    color: red;
}
.cart_remove {
    position: absolute;
    top: -1px;
    right: 5px;
    color: red !important;
    font-size: 18px;
}


#cart .panel {
    background-color: #ffffff;
    padding: 20px;
    margin: 20px 0;
}


@media (max-width: 768px) {

    .item {
        margin: -10px -10px 20px;
        padding: 10px;
    }
    .item-image {
        display:none;
    }
    .item-description h3 {
        font-size: 16px;
    }
    .item-description p {
        font-size: 12px;
        line-height: 13px;
    }
    .item .more {
        margin-left: auto;
        font-size: 12px;
        border: 1px solid #0062e3;
        padding: 2px 5px;
        margin-right: 10px;
    }

}