#empty_basket {
    display: flex;
    flex-direction: column;
    background-color: #f8f8f8;
    color: #333;
    border-radius: 5px;
    margin-bottom: 30px;
    align-items: center;
    padding: 125px 25px;
}
#empty_basket > i {
    font-size: 72px;
    margin-bottom: 10px;
    color: #0e0a6d;
}
#empty_basket > h4 {
    font-weight: 600;
    font-size: 36px;
    line-height: 44px;
    margin-bottom: 10px;
}
#empty_basket > p {
    text-align: center;
    font-size: 18px;
    margin-bottom: 30px;
    line-height: 1.3;
}
#empty_basket > a {
    width: 100%;
    max-width: 400px;
    min-height: 42px;
}

#basket-progress{
    position: relative;
    margin-bottom: 45px;
}
#basket-progress .steps {
    position: absolute;
    top: 8px;
    left: 40px;
    background-color: rgba(14,10,109,.1);
    right: 40px;
}
#basket-progress .steps span {
    display: block;
    border-radius: 1px;
    height: 4px;
    background-color: #0e0a6d;
    transition: width .3s;
    width: 0;
}
#stepsUl {
    margin: 0;
    padding: 0 11px 0 11px;
    list-style-type: none;
    display: flex;
    align-items: flex-start;
    width: 100%;
    justify-content: space-between;
    overflow: hidden;
}
#stepsUl li{
    position: relative;
}
#stepsUl li::before {
    content: "";
    position: absolute;
    top: 8px;
    height: 4px;
    background-color: #fff;
    width: 100vw;
    display: none;
}
#stepsUl li:first-of-type::before {
    right: 50%;
    z-index: 10;
    display: block;
}
#stepsUl li:last-of-type::before {
    z-index: 10;
    display: block;
    left: 50%;
}
#stepsUl li.active,
#stepsUl li.active strong{
    color: #120d8b;
}
#stepsUl li > span{
    border-radius: 50%;
    border: 1px solid #b6b5d3;
    box-shadow: 0 1px 1px rgba(14,10,109,.1);
    background-color: #fff;
    display: block;
    width: 20px;
    height: 20px;
    margin: 0 auto;
    position: relative;
    z-index: 10;
}
#stepsUl li > span::after{
    content: "";
    display: block;
    position: absolute;
    top: 3px;
    left: 3px;
    width: 12px;
    height: 12px;
    background-color: #b6b5d3;
    border-radius: 50%;
}
#stepsUl li.active > span::after{
    background-color: #120d8b;
}
#stepsUl li > strong{
    color: #b6b5d3;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: -.09px;
    text-align: center;
    display: block;
    white-space: nowrap;
    min-width: 90px;
}

#basket-products{
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 45px;
}
#basket-products > .item-basket{
    display: flex;
    align-items: stretch;
    gap: 10px;
    padding: 10px 5px;
    border-bottom: 1px solid #eee;
    position: relative;
}
#basket-products > .item-basket:last-child {
    border-bottom: none;
}

#basket-products > .item-basket .img-wrapper{
    height: 80px;
    width: 125px;
}
#basket-products > .item-basket .img-wrapper img{
    width: 100%;
    height: 100%;
    object-fit: contain;
}
#basket-products > .item-basket .name{
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 350px;
    line-height: 1.2;
}
#basket-products > .item-basket .name .code{
    font-size: 14px;
    color: #666;
}

#basket-products > .item-basket .btn-wrapper{
    display: flex;
    gap: 15px;
    margin-left: auto;
}
#basket-products > .item-basket .btn-wrapper .price,
#basket-products > .item-basket .btn-wrapper .sum{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 125px;
    line-height: 1.2;
    position: relative;
}
#basket-products > .item-basket .btn-wrapper .price .text,
#basket-products > .item-basket .btn-wrapper .sum .text{
    font-size: 12px;
    color: #8b8b9e;
}
#basket-products > .item-basket .btn-wrapper .price .cost,
#basket-products > .item-basket .btn-wrapper .sum .cost{
    color: #000;
    font-size: 18px;
    font-weight: 600;
}
#basket-products > .item-basket .btn-wrapper .price .old-cost{
    position: absolute;
    bottom: 5px;
    color: #8b8b9e;
    font-size: 14px;
    font-weight: 400;
    text-decoration: line-through;
}
#basket-products > .item-basket .btn-wrapper .count{
    display: flex;
    justify-content: space-between;
    align-self: center;
    width: 140px;
    border: 1px solid rgba(182,181,211,.45);
    box-shadow: 0 1px 1px rgba(14,10,109,.1);
    border-radius: 22px;
    position: relative;
}
#basket-products > .item-basket .btn-wrapper .count .btn{
    width: 40px;
    height: 40px;
    padding: 0;
    background-color: #f0f0f6;
    border-radius: 50%;
    border: none;
}
#basket-products > .item-basket .btn-wrapper .count .btn:hover{
    width: 40px;
    height: 40px;
    padding: 0;
    background-color: #0b095e;
    color: #FFFFFF;
}
#basket-products > .item-basket .btn-wrapper .count input{
    width: 50px;
    text-align: center;
    font-weight: bold;
    border: none;
}

#basket-products > .item-basket .del{
    display: flex;
    justify-content: center;
    align-items: center;
    margin-left: auto;
}
#basket-products > .item-basket .del .btn{
    width: 40px;
    height: 40px;
    padding: 0;
    background-color: #f0f0f6;
    border-radius: 50%;
    border: none;
    opacity: .7;
}
#basket-products > .item-basket .del .btn:hover{
    opacity: 1;
    background-color: #ef9191;
    color: #FFFFFF;
}

.btn-footer{
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: end;
    margin: auto 0 25px;
}
.btn-footer .btn{
    height: 50px;
    font-size: 17px;
    font-weight: 600;
}
.btn-footer .btn-success{
    width: 100%;
}
.btn-footer .btn-outline-info{
    min-width: 150px;
}
.total-sum{
    width: 100%;
    background-color: #f8f8f8;
    font-size: 22px;
    text-align: center;
    padding: 15px 5px;
    border-radius: 6px;
}

.form-wrapper{
    padding: 30px;
    background-color: #f8f8f8;
    border-radius: 5px;
    margin-bottom: 30px;
}
.form-basket {
    max-width: 600px;
    margin: auto;
}
.form-basket label {
    font-weight: 600;
    color: #333;
    font-size: 15px;
}

.info-panel-basket{
    display: flex;
    gap: 10px;
    align-items: center;
    color: #fff;
    background-color: #120d8b;
    padding: 10px 15px;
    font-weight: 500;
    border-radius: 5px;
}
.info-panel-basket .text{
    text-align: center;
    flex-grow: 1;
}
.info-panel-basket .text strong{
    color: #ff6638;
    font-size: 18px;
}
.info-panel-basket .text small{
    font-weight: 600;
    font-size: 90%;
}

.order-list-wrapper{
    padding: 30px 0 25px;
}
.order_check_panel{
    margin: 0 auto 30px;
    padding: 15px 10px;
    color: #fff;
    background-color: #120d8b;
    text-align: center;
    font-size: 18px;
    font-weight: 600;
    border-radius: 5px;
}
.caption-order-list{
    margin: 0 auto 10px;
    padding: 8px 10px;
    background-color: #e8f5ff;
    font-size: 16px;
    font-weight: 600;
    border-radius: 5px;
}
#order_list_info {
    display: flex;
    flex-direction: column;
    gap: .5rem;
    margin: 0 auto 30px;
}
#order_list_info .line {
    display: flex;
    flex-grow: 1;
    padding: 5px 10px;
    font-size: 16px;
    background-color: #f8f8f8;
    border-radius: 5px;
}
#order_list_info .line .name {
    margin-right: 5px;
    font-weight: 600;
}

#order_table{
    margin-bottom: 25px;
}

@media (max-width: 920px) {
    #basket-products > .item-basket{
        flex-wrap: wrap;
        padding: 10px 5px 25px;
    }
    #basket-products > .item-basket .name{
        width: calc(100% - 140px);
    }
    #basket-products > .item-basket .btn-wrapper{
        margin-left: 0;
    }
    #basket-products > .item-basket .btn-wrapper .price .old-cost{
        bottom: -10px;
    }
}
@media (max-width: 600px) {
    #empty_basket{
        margin: 0 0 20px 0;
    }
    #basket-progress{
        margin-bottom: 25px;
    }
    #stepsUl{
        padding: 0;
    }
    #basket-progress .steps {
        left: 30px;
        right: 30px;
    }
    #stepsUl li > strong{
        min-width: 50px;
    }

    #basket-products > .item-basket .img-wrapper {
        width: 100px;
    }
    #basket-products > .item-basket .name{
        width: calc(100% - 155px);
    }
    #basket-products > .item-basket .btn-wrapper{
        width: 100%;
        justify-content: space-between;
        margin-top: 10px;
    }
    #basket-products > .item-basket .btn-wrapper .price .cost,
    #basket-products > .item-basket .btn-wrapper .sum .cost{
        font-size: 16px;
    }
    #basket-products > .item-basket .del{
        margin-left: 0;
        position: absolute;
        right: 0;
        top: 20px;
    }

    .btn-footer .btn-outline-info{
        min-width: inherit;
    }

    .info-panel-basket{
        flex-direction: column;
        padding: 15px 10px;
        gap: 15px;
        text-align: center;
    }
    .form-wrapper{
        padding: 0;
        margin-bottom: 10px;
        background-color: #fff;
    }

    .order-list-wrapper {
        padding: 0 0 10px;
        margin-bottom: 15px;
    }
    #order_list_info .line{
        flex-direction: column;
    }
    .hideUnits{
        display: none;
    }
}