.purchases-order-page .purchase-name {
    width: calc(100% - 400px);
}

.purchases-order-page .purchase-total-price-label {
    width: calc(100% - 100px);
}

.purchases-order-page .fn-product-amount {
    margin-left: 0;
}

.details-row {
    width: 100%;
    display: flex;
    justify-content: flex-start;
    border-bottom: 1px solid #f5f5f5;
}

.details-row:last-child {
    border-bottom: none;
}

.details-row > div {
    flex-basis: 50%;
    padding: 10px;
    line-height: 1.5;
}

.details-row > div:first-child {
    border-right: 1px solid #f5f5f5;
}

.payment-option label {
    font-weight: bold;
    margin-bottom: 10px;
}

#ebook-files-list table {
    width: 100%;
}

@media (max-width: 992px) {
    #order .container {
        max-width: unset;
    }
}

@media (max-width: 768px) {
    #order-details {
        padding-right: 0;
    }

    #payment-details {
        padding-left: 0;
        margin-top: 20px;
    }

    .purchases-order-page .purchase-name {
        width: calc(100% - 80px);
    }

    .purchases-order-page .purchase-total-price-label {
        width: auto;
    }

    .purchases-order-page .purchase-row .purchase-amount {
        width: auto;
        padding-left: 0 !important;
    }

    .purchases-order-page .purchase-row .purchase-full-price {
        width: 100%;
    }

}
