.cart {
    margin: 30px auto 50px;
    max-width: 750px;
    background: #FFFFFF;
    box-shadow: 0px 3px 7px rgba(0, 0, 0, 0.05);
    border-radius: 4px;
}

.cart__header {
    padding: 15px 20px;
    border-bottom: 1px solid #EDEDED;
}

.cart__title {
    position: relative;
    display: inline-block;
}

.cart__title::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    background: #EE6B16;
    border-radius: 3px 3px 0px 0px;
    left: 0;
    bottom: -16px;
}

.cart__firmwares-header {
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid #EDEDED;
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    font-weight: 400;
    color: #737373;
}

.cart__firmwares-header .cart__firmware-price {
    font-weight: 400;
}

.cart__firmware {
    width: 65%;
    padding: 13px 20px;
    border-right: 1px solid #EDEDED;
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
}
.cart__firmware-title{
    word-wrap: break-word;
}

.cart__firmware-price {
    width: 25%;
    padding: 13px 20px;
    border-right: 1px solid #EDEDED;
    display: flex;
    align-items: center;
    font-weight: bold;
}

.cart__firmware-remover {
    width: 10%;
    padding: 13px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.cart__item {
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid #EDEDED;
}

.cart__firmware-remover-button {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 1px solid #EDEDED;
    position: relative;
    background: 200ms ease all;
}

.cart__firmware-remover-button::before {
    content: '';
    position: absolute;
    width: 1px;
    height: 11px;
    background: #999;
    top: 4px;
    left: 8px;
    transform: rotate(45deg);
    transition: 200ms ease all;
}

.cart__firmware-remover-button::after {
    content: '';
    position: absolute;
    width: 1px;
    height: 11px;
    background: #999;
    top: 4px;
    left: 8px;
    transform: rotate(-45deg);
    transition: 200ms ease all;
}

.cart__firmware-remover-button:hover {
    background: #EDEDED;
}

.cart__firmware-path {
    margin-top: 4px;
    color: #EE6B16;
    display: inline-block;
}

.cart__firmware-path:hover {
    text-decoration: underline;
}

.cart__firmwares-total {
    width: 35%;
    margin: 0 0 0 auto;
    padding: 13px 20px;
}

.cart__firmwares-total-price {
    font-weight: bold;
    margin-top: 4px;
    font-size: 16px;
}

.cart__firmwares-buttons {
    padding: 20px;
    display: flex;
    justify-content: space-between;
}

.cart__back-catalog-button {
    width: 140px;
    text-align: center;
}

.cart__top-up-balance-button {
    width: 180px;
    text-align: center;
    margin-right: 10px;
}

.cart__pay {
    width: 180px;
    text-align: center;
}

.cart__note {
    line-height: 22px;
    padding: 15px 20px;
    display: none;
}

.cart__note-link {
    color: #EE6B16;
    border-bottom: 1px solid transparent;
}

.cart__note-link:hover {
    border-color: #EE6B16;
}

.cart__note-button {
    margin-top: 25px;
    display: block;
    text-align: center;
}

.cart--empty {
    width: 340px;
}

.cart--empty .cart__firmwares {
    display: none;
}

.cart--empty .cart__note {
    display: block;
}

@media screen and (max-width: 767px) {
    .cart__firmwares-buttons {
        flex-direction: column;
    }
    .cart__back-catalog-button {
        margin-bottom: 15px;
    }
    .cart__firmwares-buttons-control {
        display: flex;
        justify-content: space-between;
    }
    .cart__firmwares-header{
        flex-direction: column;
    }
    .cart__firmware{
        width: 100%;
        border: none;
    }
    .cart__firmware-price{
        width: 100%;
        border: none;
    }
    .cart__item{
        flex-direction: column;
    }
    .cart__firmwares-header .cart__firmware-remover{
        display: none;
    }
    .cart__firmware-remover{
        width: 100%;
        border: none;
    }
    .cart__firmwares-total{
        width: 100%;
        margin: 10px 0;
    }
    .cart__firmwares-buttons-control{
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
    .cart__top-up-balance-button{
        margin-right: 0;
        margin-bottom: 10px;
    }
    .cart__firmwares-buttons{
        justify-content: center;
        align-items: center;
    }
    .cart__back-catalog-button{
        width: 180px;
    }
}
.cart__authorization-note{
    background: #EE6B16;
    color: #FFFFFF;
    text-align: center;
    margin-top: 35px;
    font-size: 16px;
    padding: 20px;
    display: none;
}
.cart--not-authorization .cart__authorization-note{
    display: block;
}