#fn-purchases {
    min-width: 740px;
    overflow: auto;
    margin-bottom: 30px;
}

.purchase-row {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: flex-start;
    align-items: center;
    border-bottom: 1px solid #F5F5F5;
    height: 150px;
}

.purchase-row > div {
    padding: 15px;
    height: 100%;
    border-right: 1px solid #F5F5F5;
    display: flex;
    align-items: center;
}

.purchase-row > div:last-child {
    border-right: none;
}

.purchase-img {
    width: 101px;
}

.purchase-img img {
    width: 70px;
    height: auto;
}

.purchase-name {
    width: calc(100% - 400px - 68px);
}

.purchase-ebook .purchase-name {
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    min-width: 220px;
}

.purchase-ebook .purchase-name p:first-child {
    margin-bottom: 0;
    margin-top: 10px;
}

.purchase-price {
    width: 100px;
}

.purchase-amount {
    width: 100px;
    padding-left: 8px !important;
    padding-right: 8px !important;
    justify-content: center;
}

.fn-product-amount {
    display: flex;
}

.purchase-amount input[type="text"] {
    width: 40px;
    padding: 5px 0;
    text-align: center;
    float: left;
}

.purchase-amount button {
    cursor: pointer;
    font-weight: bold;
    color: #137d7a;
    border: none;
    outline: none;
    background: unset;
    height: 34px;
    width: 20px;
    padding: 0;

}

.minus {
    margin-right: 5px;
}

.plus {
    margin-left: 5px;
}

.purchase-full-price {
    text-align: center;
    width: 100px;
}

.purchase-remove {
    padding-top: 32px;
    width: 67px;
}

.purchases-header,
.purchase-total-price {
    height: auto;
}

.purchase-total-price {
    border-bottom: none;
}

.purchase-total-price-label {
    font-size: 16px;
    font-weight: bold;
    color: #137d7a;
    width: calc(100% - 68px - 99px);
}

.purchase-total-price-value {
    color: #ed6663;
    font-weight: bold;
    font-size: 16px;
}

.purchases-header > div {
    font-size: 16px;
    font-weight: bold;
    color: #137d7a;
}

.purchases-header .purchase-img {
    height: 60px;
}

#client-info textarea {
    resize: none;
    height: 140px;
}

#post-office-search-results,
#post-office-mailbox-search-results,
#settlement-search-results {
    padding: 0;
    list-style: none;
    border: 1px solid #ddd;
    background-color: white;
    position: absolute;
    width: calc(100% - 30px);
    display: none;
    z-index: 999;
}

.search-results-item {
    padding-left: 12px;
    padding-right: 12px;
    cursor: pointer;
}

.search-results-item:hover {
    background-color: #eee;
}

#cart input[type=checkbox] {
    width: 20px;
    height: 20px;
    margin-left: 0;
    margin-right: 10px;
    cursor: pointer;
}

#cart input[type=checkbox] + label {
    margin-left: 10px;
    cursor: pointer;
}

.product-sdesc {
    overflow: auto;
}

#coupon-field {
    height: 36px;
}

#apply-coupon-btn:hover {
    color: #fff;
}

.coupon-applied-message .close {
    float: none;
    margin-left: 8px;
}

@media (max-width: 992px) {
    #cart .container {
        max-width: unset;
    }
}

@media (max-width: 768px) {
    #client-info {
        padding-left: 0;
        margin-top: 20px;
    }

    #fn-ajax_deliveries {
        padding-right: 0;
    }

    #fn-purchases {
        min-width: unset;
    }

    .purchases-header {
        display: none;
    }

    .purchase-row {
        height: auto;
        flex-wrap: wrap;
        position: relative;
        padding: 5px;
    }

    .purchase-row > div {
        padding: 5px;
        border-right: 0;
        display: inline-block;
        float: left;
        width: auto;
        height: auto;
    }

    .purchase-row > .purchase-name {
        width: calc(100% - 80px);
    }

    .purchase-ebook .purchase-name {
        min-width: unset;
    }

    .purchase-row .purchase-price-mobile p {
        font-size: 12px;
    }

    .purchase-row .purchase-amount {
        width: 75%;
        padding-left: 85px !important;
    }

    .minus {
        margin-right: 15px;
    }

    .plus {
        margin-left: 15px;
    }

    .purchase-row .purchase-full-price {
        width: 25%;
    }

    .purchase-row .purchase-full-price p {
        font-weight: bold;
        color: #137d7a;
        text-align: right;
    }

    .purchase-row .purchase-remove {
        display: flex;
        position: absolute;
        top: 0;
        right: 0;
        padding: 0;
    }

    .purchase-row .purchase-remove > .btn {
        padding: 2px 6px;
        border-radius: 0;
    }

    .purchase-ebook .purchase-amount {
        visibility: hidden;
    }

    .purchase-total-price {
        display: flex;
        justify-content: space-between;
    }

    .purchase-total-price .purchase-total-price-value {
        font-size: 18px;
    }

    .product-sdesc {
        overflow: hidden;
    }

    .product-sdesc table tr {
        display: flex;
        flex-direction: column;
    }

    .product-sdesc table tr td {
        margin-bottom: 25px;
    }

    .product-sdesc table tr td img {
        width: 80vw;
        height: auto;
    }
}

@media (max-width: 576px) {

}