.order-elem {
    position: relative;
}
.order-elem .order-info {
    padding-top: 40px;
    cursor: pointer;
}

.order-elem:last-child {
    padding-bottom: 0;
}

.order-body {
    position: relative;
    z-index: 3;
    background-color: #fff;
    padding-bottom: 20px;
    width: calc(100% + 40px);
    margin-left: -20px;
    padding-left: 20px;
    padding-right: 20px;
    max-width: 100%;
}

.order-list .delimiter {
    height: 2px;
    background-color: #000;
    position: relative;
    z-index: 0;
}

.order-head {
    border-top: 1px solid #805856;
    border-bottom: 1px solid #805856;
    height: 37px;
    padding-top: 7px;
}

.order-param {
    font-family: 'PT Sans Caption', sans-serif;
    font-size: 13px;
    color: #805856;
}

.order-param.order-number-value {
    font-size: 20px;
}

.order-param.order-content {
    display: block;
}

.order-value {
    font-family: 'PT Serif Caption', sans-serif;
    font-size: 15px;
    color: #805856;
}

.order-value.order-date {
    font-style: italic;
}

.left .param-line {
    margin-bottom: 20px;
}

.order-elem .left {
    width: 206px;
    min-height: 1px;
}

.order-elem .mid {
    position: relative;
    width: 790px;
    max-width: 100%;
    display: inline-block;
    min-height: 1px;
}

.order-elem .right {
    width: 147px;
    min-height: 1px;
}

.order-status {
    text-transform: lowercase;
    /*font-style: italic;*/
}

.param-line {
    margin-bottom: 2px;
    font-size: 14px;
}

.basket-items {
    margin: 27px 0 25px;
}

.basket-item {
    /*margin: 10px 0 -6px 206px;*/
    margin: 10px 0 0 0;
}

.basket-item .left {
    float: none;
    width: 184px;
    padding-right: 35px;
    display: table-cell;
    vertical-align: middle;
}

.basket-item .mid {
    float: none;
    width: 635px;
    display: table-cell;
    vertical-align: top;
}

.basket-item img {
    width: 184px;
    height: 184px;
    object-fit: contain;
}
.basket-item.basket-item-delivery img {
    height: 84px;
}

.basket-item .mid .left {
    float: none;
    display: inline-block;
    vertical-align: top;
    width: 100%;
}

.item-desc {
    display: inline-block;
    font-family: 'PT Sans Caption', sans-serif;
}

.basket-item .mid .right {
    display: inline-block;
    vertical-align: middle;
    float: none;
    width: 146px;
}

.item-price {
    display: flex;
    justify-content: space-between;
}
.item-price-right {
    font-weight: bold;
}

.order-sum {
    margin: 0 0 20px 0;
}

.order-sum-title {
    font-family: 'PT Sans Caption', sans-serif;
    font-size: 16px;
    color: #805856;
}

.order-sum-value {
    font-family: 'PT Serif Caption', sans-serif;
    font-size: 16px;
    color: #c06f84;
}

.basket-item.order-payment .left {
    background-image: url('images/icon-visa-mastercard.png');
    background-repeat: no-repeat;
    background-position: left center;
    min-height: 27px;
}

.pay-button.disabled {
    font-family: 'PT Sans Caption', sans-serif;
    font-size: 16px;
    font-weight: bold;
    color: #fff;
    background-color: #e3c3c1;
    text-transform: uppercase;
    display: table-cell;
    vertical-align: middle;
    text-decoration: none;
    padding: 7px 100px;
    cursor: default;
}

.pay-button.active {
    font-family: 'PT Sans Caption', sans-serif;
    font-size: 16px;
    font-weight: bold;
    color: #fff;
    background-color: #c06f84;
    text-transform: uppercase;
    display: table-cell;
    vertical-align: middle;
    text-decoration: none;
    padding: 7px 100px;
}

.pay-button.payed {
    font-family: 'PT Sans Caption', sans-serif;
    font-size: 16px;
    font-weight: bold;
    color: #fff;
    background-color: #689d9c;
    text-transform: uppercase;
    display: table-cell;
    vertical-align: middle;
    text-decoration: none;
    padding: 7px 80px;
    background-image: url('images/icon-order-payed.png');
    background-repeat: no-repeat;
    background-position: 50px 2px;
}

.pay-note {
    font-family: 'PT Serif Caption', sans-serif;
    font-size: 14px;
    color: #805856;
    display: table-cell;
    vertical-align: middle;
    padding-left: 20px;
}

.order-header {
    margin-bottom: 14px;
    position: relative;
}
.order-head-item {
    font-size: 20px;
    float: left;
    margin-right: 30px;
}
.order-header:after {
    content: '';
    display: table;
    clear: both;
}
.basket-item .left.left_empty {
    width: 220px;
    float: left;
}

.order-info-toggler {
    background-image: url('images/toggler.png');
    width: 17px;
    height: 10px;
    background-repeat: no-repeat;
    background-size: contain;
    position: absolute;
    right: 24px;
    top: 7px;
    cursor: pointer;
}
.order-body.closed {
    padding-bottom: 5px;
}
.order-body.closed .order-info-toggler {
    transform: rotate(180deg);
}
.order-body.closed .order-body-main {
    display: none;
}
.order-body.closed .order-info .param-line:not(.order-header) {
    display: none;
}

@media (max-width: 768px) {
    .order-body {
        margin-left: 0;
    }
    .order-info-toggler {
        right: 10px;
    }
}

@media (max-width: 750px) {
    .item-price {
        flex-wrap: wrap;
    }
    .item-price-left {
        width: 100%;
    }
    .order-head-item {
        width: 100%;
    }
    .basket-item.order-payment {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }
    .basket-item.order-payment .left {
        margin-bottom: 10px;
    }
    .basket-item.order-payment .pay-button {
        margin-bottom: 10px;
    }
}

@media (max-width: 500px) {
    .order-elem .order-info {
        padding-top: 30px;
    }
    .order-head-item {
        font-size: 18px;
    }
    .param-line {
        font-size: 12px;
    }
    .item-desc {
        font-size: 14px;
        line-height: 1.2;
    }
    .basket-item .item-price {
        font-size: 12px;
    }
    .item-price-left {
        line-height: 1;
    }
    .basket-item.basket-item-delivery .item-price-left,
    .basket-item.order-sum .item-price-left {
        font-size: 14px;
    }
    .basket-item img {
        width: 100px;
        height: 100px;
    }
    .order-body {
        padding-left: 0;
        padding-right: 0;
    }
    .order-info-toggler {
        right: 3px;
    }
    .order-header {
        margin-bottom: 22px;
    }
    .basket-item .left {
        width: auto;
        padding-right: 15px;
    }
    .basket-item .mid {
        width: auto;
    }
    .basket-item.basket-item-delivery img {
        height: 54px;
    }
    .basket-items {
        margin-bottom: 13px;
    }
    .basket-item .left.left_empty {
        width: 115px;
    }
    .basket-item.order-payment .left {
        width: 100%;
    }
    .order-body.closed .order-header {
        margin-bottom: 0;
    }
    .order-list .delimiter {
        width: 100vw;
        margin-left: -15px;
    }
}