/**
/* CART
**/

.input__radio:disabled + .input__tab {
    border-color: #d4d4d4;
    color: #9c9c9c;
    cursor: not-allowed;
}

.modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1049;
    width: 100vw;
    height: 100vh;
    background-color: #000;
}
.modal-backdrop.fade {
    opacity: 0;
}
.modal-backdrop.show {
    opacity: 0.5;
}
.modal-open{
    overflow: hidden;
    padding-right: 17px;
}

#addCartModal .modal-dialog{
    max-width: 70%;
    width: 900px;
}
#addCartModal .modal-actions, .order-detail .op__actions{
    display: flex;
    flex-direction: row;
    justify-content:space-evenly;
}

@media (max-width: 768px) {
    #addCartModal .modal-dialog {
        max-width: 95%;
        width: 900px;
    }
    #addCartModal .modal-actions .btn{
        margin-top: 10px;
    }
    #addCartModal .modal-actions, .order-detail .op__actions{
        display: flex;
        flex-direction: column;
        justify-content:space-evenly;
    }
}

.nav-link.cart-link .icofont{
    display: unset;
    position: relative;
}

#addCartModal .modal-body{
    min-height: 150px;
}
#cart-content{

}
#cart-content.loading:before{
    content: "Loading ...";
    position: absolute;
    width: 100%; /*calc(100% - 30px);*/
    height: 100%;
    background-color: rgba(206, 206, 206, 0.33);
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 28px;
    z-index: 99999;
}

.currency {
    font-size: .7em;
    vertical-align: middle;
}

.cart-content .cart-list{
    list-style-type: none;
    margin: 0;
    padding: 0;
}

.cart-list-item{
    border-bottom: 1px solid #d3d9e4;
    display: flex;
    margin-bottom: .5rem;
    padding-bottom: .5rem;
}
.cart-list-item:last-child {
    border-bottom: 0;
    margin-bottom: 0;
    padding-bottom: 0;
}

.cart-content .cart-list-item {
    background: #f9fafb;
    border-bottom: 0;
    flex-wrap: wrap;
    margin: 0 0 1rem;
    padding: 1rem;
}
.cart-content .cart-list-item:last-child {
    margin-bottom: 0;
}
.cart-content .cart-list-item:last-child, .cart-list-quantity .input {
    margin-bottom: 0;
}
.cart-content .cart-list .del-from-cart {
    margin-right: 1rem;
}
.cart-content .cart-list .del-from-cart:hover {
    background: #fff;
}
.cart-content .cart-list .del-from-cart:hover i{
    color: #c80000;
}
.cart-content .cart-list-item .item-image {
    display: block;
    margin-right: 1rem;
}
.cart-content .cart-list-item .item-body {
    flex: 1;
    margin-right: .5rem;
    display: flex;
    align-items: center;
}
.cart-content .cart-list-item .item-title {
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    color: #000;
    display: -webkit-box;
    font-size: 1rem;
    line-height: 1.1;
    overflow: hidden;
}
.cart-content .cart-list-item .item-pricing {
    color: #000;
    font-size: 1rem;
    line-height: 1.25;
    text-align: right;
    display: flex;
    flex: 1;
    flex-direction: column;
    justify-content: center;
    margin: 1rem 0;
}
.cart-content .cart-list-item .item-pricing_old-price {
    text-decoration: line-through;
    font-size: 0.75rem;
    color: rgba(0, 0, 0, 0.4);
}

.cart-summary, .checkout__block {
    position: sticky;
    top: 7.0625rem;
    background: #F9FAFB;
    /*padding: 1rem;*/
}
.cart-summary .summary-title {
    color: #000;
}
.cart-summary .actions {
    grid-template-columns: 100%;
}
.cart-summary .btn_primary {
    background-color: #fff;
}
.cart-summary .summary {
    margin-bottom: 1rem;
    display: flex;
}
.cart-summary .summary-header {
    margin-right: auto;
}
.cart-summary .summary-value {
    text-align: right;
    margin-left: 1rem;
}
.cart-summary .summary-title {
    font-size: 1.125rem;
    line-height: 1.1112;
    color: #000;
}
.cart-summary .summary-subtitle {
    font-size: 0.875rem;
    line-height: 1.25;
}
.cart-summary .summary-value {
    font-size: 1.125rem;
    line-height: 1.1112;
    color: #000;
}
.cart-summary .summary-subtitle a,
.cart-summary .summary-subtitle button {
    color: #529EE3;
    border: 0;
    background: transparent;
    padding: 0;
}

.checkout .h4 {
    margin: 0 0 1.5rem;
}
.checkout__row {
    margin-bottom: 1.5rem;
    display: flex;
    flex-direction: row;
}
.checkout__summary__item {
    border-bottom: 1px solid #d3d9e4;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
}

.sc__summary {
    display: flex;
    margin-bottom: 1rem;
}
.sc__summary__header {
    margin-right: auto;
}
.sc__summary__title {
    color: #000;
    font-size: 1.125rem;
    line-height: 1.1112;
}
.sc__summary__subtitle {
    font-size: .875rem;
    line-height: 1.25;
}
.sc__summary__subtitle a, .sc__summary__subtitle button {
    background: transparent;
    border: 0;
    color: #529EE3;
    padding: 0;
}
.sc__summary__value {
    margin-left: 1rem;
    text-align: right;
    color: #000;
    font-size: 1.125rem;
    line-height: 1.1112;
}
.sc__actions{
    display: flex;
    flex-direction: row;
    justify-content: center;
}

.lk__orders {
    list-style: none;
    padding: 0;
    margin: 0;
}
.lk__orders__item {
    margin-bottom: 1rem;
}
.lk__orders__item:last-child {
    margin-bottom: 0;
}
.lk__orders__item__status {
    font-size: 0.875rem;
    line-height: 1.286;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    background: #fff;
    padding: 0.25rem 0.5rem;
    color: rgba(0, 0, 0, 0.7);
    display: inline-flex;
    align-items: center;
}
.lk__orders__item__status::before {
    content: "";
    display: block;
    width: 0.5rem;
    height: 0.5rem;
    flex-shrink: 0;
    margin-right: 0.5rem;
    border-radius: 50%;
}
.lk__orders__item__status_finished::before {
    background: #3BAA3F;
}
.lk__orders__item__status_wait::before {
    background: #CCB28D;
}
.lk__orders__item__status_delivery::before {
    background: #000;
}
.lk__orders__item__status_canceled::before {
    background: #B11515;
}
.lk__orders__link {
    background: #F9FAFB;
    padding: 1rem;
    line-height: 1.25;
    border: 2px solid transparent;
    transition: border-color 0.2s ease-in-out;
    display: flex;
    flex-wrap: wrap;
}
.lk__orders__item__header {
    display: flex;
    align-items: center;
    width: 100%;
}
.lk__orders__item__number {
    flex: 1;
    font-size: 1.375rem;
    color: #000;
}
.lk__orders__item__datetime {
    font-size: 1rem;
    color: rgba(0, 0, 0, 0.7);
}
.lk__orders__item__body {
    margin-top: 0.5rem;
    display: flex;
    align-items: center;
    width: 100%;
}
.lk__orders__item__price {
    flex: 1;
    font-size: 1.375rem;
    color: #000;
}
.lk__orders__item__status {
    font-size: 0.875rem;
    line-height: 1.286;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    background: #fff;
    padding: 0.25rem 0.5rem;
    color: rgba(0, 0, 0, 0.7);
    display: inline-flex;
    align-items: center;
}
.lk__orders__item__status::before {
    content: "";
    display: block;
    width: 0.5rem;
    height: 0.5rem;
    flex-shrink: 0;
    margin-right: 0.5rem;
    border-radius: 50%;
}
.lk__orders__item__status_finished::before {
    background: #3BAA3F;
}
.lk__orders__item__status_wait::before {
    background: #CCB28D;
}
.lk__orders__item__status_delivery::before {
    background: #000;
}
.lk__orders__item__status_canceled::before {
    background: #B11515;
}
.lk__orders__link .btn-ico {
    display: none;
    color: #855A27;
}

.sc__item {
    border-bottom: 1px solid #D3D9E4;
    padding-bottom: 0.5rem;
    margin-bottom: 0.5rem;
    display: flex;
}
.sc__item:last-child {
    border-bottom: 0;
    padding-bottom: 0;
    margin-bottom: 0;
}
.sc__item__image {
    display: block;
    margin-right: 1rem;
}
.sc__item__img {
    display: block;
    width: 3rem;
}
.sc__item__body {
    flex: 1;
    margin-right: 0.5rem;
}
.sc__item__title {
    font-size: 1rem;
    color: #000;
    line-height: 1.1;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.sc__item__summary {
    font-size: 0.875rem;
    margin-top: 0.25rem;
    line-height: 1.25;
}
.sc__item__pricing {
    text-align: right;
    font-size: 1rem;
    line-height: 1.25;
    color: #000;
}
.sc__item__pricing__old-price {
    text-decoration: line-through;
    font-size: 0.75rem;
    color: rgba(0, 0, 0, 0.4);
}

.op__header {
    text-align: center;
    margin-bottom: 1.5rem;
}
.op__datetime {
    font-size: 1rem;
}
.op__header h3 {
    margin: 1.5rem 0;
}
.op__list {
    list-style: none;
    padding: 0;
    margin: 0 -1.5rem 1.5rem;
}
.op__list .sc__item {
    background: #fff;
    border-bottom: 1px solid #ECEFF3;
    margin-bottom: 0;
    padding: 1rem 1.5rem;
    align-items: center;
}
.op__list .sc__item:last-child {
    border-bottom: 0;
}

@media (min-width: 768px) {
    .cart-summary {
        padding: 1.5rem;
    }
    .op__list .sc__item__img {
        width: 5.375rem;
    }
    .op__list {
        margin: 0 0 1.5rem;
    }
    .op__list .sc__item__img {
        width: 5.375rem;
    }
    .op__list .sc__item__title {
        font-size: 1.375rem;
    }
    .op__list .sc__item__summary {
        font-size: 1rem;
    }
    .op__list .sc__item__pricing {
        font-size: 1.375rem;
    }
}

@media (min-width: 992px){
    .cart-content .cart-list-item {
        align-items: center;
        flex-wrap: nowrap;
    }
    .cart-content .cart-list-item .item-quantity {
        flex: none;
        max-width: 8.75rem;
        margin: 0 1.5rem 0 0;
    }
    .cart-content .cart-list-item .item-pricing {
        flex: none;
        margin: 0;
    }
    .cart-content .cart-summary {
        padding: 1.5rem;
    }
}

@media (min-width: 1200px) {
    .cart-content .cart-list-item .item-image {
        width: 5.375rem;
    }
    .cart-content .cart-list-item .item-title {
        font-size: 1.2rem;
    }
    .cart-content .cart-list-item .item-summary {
        font-size: 1rem;
        margin-top: 0.5rem;
    }
    .cart-content .cart-list-item .item-quantity {
        max-width: 11.375rem;
    }
    .cart-content .cart-list-item .item-pricing {
        font-size: 1.375rem;
    }
    .cart-content .cart-list-item .item-pricing_old-price {
        font-size: 1rem;
    }
}
@media (hover: hover) and (pointer: fine) {
    .cart-content .cart-list .del-from-cart:hover {
        background: #fff;
    }
    .cart-content .cart-list-item .item-title:hover {
        text-decoration: none;
    }
    .cart-summary .summary-subtitle button:hover {
        text-decoration: underline;
    }
    .cart-content .cart-summary .btn_primary:hover {
        background-color: #529EE3;
    }

    .op__list .sc__item__title:hover {
        text-decoration: none;
    }
}
