.checkout-contacts__fields .woocommerce-billing-fields h3 {
    display: none;
}

.checkout-contacts {
    padding-top: 0;
    padding-bottom: 0;
}

.checkout-section__inner {
    display: flex;
    gap: 2em;
}

.checkout-contacts__fields {
    width: calc(70% - 2em);
}

.checkout-order {
    width: 30%;
}

#checkout-order-summary {
    padding: 1em;
    border: 1px solid #dfdfdf;
    border-radius: 5px;
    display: flex;
    flex-direction: column;
    gap: 1em;
    width: 30%;
}

#checkout-order-summary .checkout-order__total {
    font-size: 24px;
    font-weight: 500;
}

#checkout-order-summary>div {
    display: flex;
    width: 100%;
    justify-content: space-between;
}

.checkout-contacts__fields h2 {
    margin-bottom: .5em;
}

.checkout-payment {
    padding-top: 0;
}

@media (max-width: 768px) {
    .checkout-section__inner {
        flex-direction: column;
    }

    .checkout-contacts__fields {
        width: 100%;
    }

    #checkout-order-summary {
        width: 100%;
    }

    .custom-delivery-methods__list {
        display: flex;
        flex-wrap: wrap;
        gap: 1em;
        margin-top: 2em;
    }

    .custom-delivery-method {
        padding: 1em;
        border: 1px solid #dfdfdf;
        border-radius: 5px;
        width: calc(50% - .5em);
    }

    .custom-delivery-methods__list .custom-delivery-method:not(:last-child) {
        margin-bottom: 0;
    }

    .custom-delivery-method__types {
        flex-direction: column;
        margin-top: 1em;
    }
}

@media (max-width: 480px) {
    .custom-delivery-methods__list {
        flex-direction: column;
    }

    .custom-delivery-method {
        width: 100%;
    }

    .payment_box.payment_method_cod p {
        max-width: 100%;
        font-size: 12px;
    }
}