body .woocommerce-thankyou-order-received {
    color: #2C9F54;
    background-color: #fff;
    border: 0;
    border-radius: 6px;
    font-weight: normal;
    font-family: 'TT Fors Medium';
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin: 0;
}

.woocommerce-thankyou-order-received::before {
    content: '';
    background-image: url('/wp-content/uploads/2024/07/Group-74-1-1.svg');
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    height: 35px;
    width: 35px;
    display: inline-block;
}

body :is(.woocommerce-thankyou-order-details, .woocommerce-bacs-bank-details) {
    width: calc(50% - 10px);
    margin: 0;
    display: block;
    background-color: #fff;
    padding: 25px 30px;
    border-radius: 6px;
}

body :is(.woocommerce-thankyou-order-details, .wc-bacs-bank-details) li {
    text-align: left;
    color: var(--wd-text-color);
    border: 0;
    padding: 0;
    line-height: 1;
}

.woocommerce-order:not(.wd-with-extra-content) {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

body .wc-bacs-bank-details-heading {
    text-transform: uppercase;
    font-size: 18px;
    font-family: 'TT Fors Semibold';
    font-weight: normal;
    line-height: 1;
    margin-bottom: 35px;
}

body .woocommerce-order-details__title,
body .woocommerce-column__title {
    width: 100%;
    line-height: 1;
    margin-bottom: 0;
}

body .woocommerce-order-details {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 20px;
}

body .woocommerce-order-details :is(.responsive-table) {
    margin-bottom: 0;
    width: 100%;
    background-color: #fff;
    padding: 25px 30px;
    border-radius: 6px;
}

body .woocommerce-table--order-details tfoot tr:last-child :is(th,td){
    border: 0;
}

.woocommerce-table--order-details .amount{
    font-weight: normal;
    color: var(--wd-text-color);
    font-family: 'TT Fors Medium';
}

.woocommerce-customer-details{
    width: 100%;
    background-color: #fff;
    padding: 25px 30px;
    border-radius: 6px;
}

.woocommerce-customer-details address{
    margin: 0;
}

.woocommerce-customer-details .addresses{
    gap: 20px;
    margin: 0;
}

.woocommerce-customer-details .addresses .woocommerce-column{
    width: calc(50% - 10px);
    flex: auto;
}

body .woocommerce-customer-details .woocommerce-column__title{
    margin-bottom: 20px;
}

ul.wc-bacs-bank-details:not(:last-child){
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px dashed #e8e8eb;
    flex-wrap: wrap;
    column-gap: 20px;
}

.woocommerce-table--custom-fields tr:last-child td{
    border: 0;
}

table.woocommerce-table--custom-fields :is(tbody,tfoot) th{
    text-align: left !important;
    border: 0;
    z-index: 1;
    transform: translateY(-1px);
    border-top: 1px solid #fff;
    display: block;
    width: 100%;
    font-size: 18px;
    text-transform: uppercase;
    font-family: 'TT Fors Semibold';
    font-weight: normal;
}

table.woocommerce-table--custom-fields tbody{
    display: flex;
    flex-direction: column;
    width: 100%;
}

table.woocommerce-table--custom-fields tbody tr{
    display: flex;
    width: 100%;
}

table.woocommerce-table--custom-fields tbody tr td{
    flex: auto;
    border-bottom: 1px solid #e8e8eb;
}

@media screen and (max-width: 768px) {

    body :is(.woocommerce-thankyou-order-details,.wc-bacs-bank-details) li{
        margin-bottom: 20px;
        max-width: none;
    }

    body :is(.woocommerce-thankyou-order-details,.wc-bacs-bank-details) li:last-child{
        margin-bottom: 0;
    }

    .woocommerce-customer-details .addresses .woocommerce-column{
        width: 100%;
    }

    body :is(.woocommerce-thankyou-order-details, .woocommerce-bacs-bank-details){
        width: 100%;
    }

    body .woocommerce-thankyou-order-received{
        font-size: 17px;
    }

    .woocommerce-thankyou-order-received::before{
        height: 28px;
        width: 28px; 
    }

    body .woocommerce-table--order-details :is(th,td),
    body table.woocommerce-table--custom-fields tbody tr td,
    body table.woocommerce-table--custom-fields :is(tbody,tfoot) th{
        padding-inline: 0;
    }
    
}