#order_review .woocommerce-checkout-review-order-table tfoot tr:first-child th,
#order_review .woocommerce-checkout-review-order-table tfoot tr:first-child td {
    border-top: 1px solid #d1d5db;
    padding-top: 20px;
}

#order_review .woocommerce-checkout-review-order-table tfoot td {
    font-size: 15px;
    font-weight: 600;
    text-align: right;
}

#order_review .woocommerce-checkout-review-order-table .shipping td,
#order_review .woocommerce-checkout-review-order-table .shipping th {
    padding-bottom: 18px;
}

#order_review .woocommerce-checkout-review-order-table .shipping ul,
#order_review .woocommerce-checkout-review-order-table .shipping #shipping_method {
    display: grid;
    gap: 8px;
    justify-items: end;
}

#order_review .woocommerce-checkout-review-order-table .shipping_method {
    color: var(--gray-700);
    font-weight: 500;
}

#order_review .woocommerce-checkout-review-order-table .sullivan-checkout-backorder-totals th,
#order_review .woocommerce-checkout-review-order-table .sullivan-checkout-backorder-totals td {
    border-bottom: 0;
    padding-bottom: 8px;
    padding-top: 8px;
}

#order_review .woocommerce-checkout-review-order-table .sullivan-checkout-backorder-totals th {
    color: var(--gray-700);
    font-size: 11px;
    letter-spacing: 0.08em;
}

#order_review .woocommerce-checkout-review-order-table .sullivan-checkout-backorder-totals td {
    color: var(--gray-900);
    font-size: 16px;
    font-weight: 700;
}

#order_review .woocommerce-checkout-review-order-table .sullivan-checkout-backorder-totals--deposit th,
#order_review .woocommerce-checkout-review-order-table .sullivan-checkout-backorder-totals--deposit td {
    color: #0f172a;
}

#order_review .woocommerce-checkout-review-order-table .sullivan-checkout-backorder-note th {
    border-bottom: 1px solid #d1d5db;
    padding-bottom: 18px;
    padding-right: 0;
    padding-top: 14px;
}

#order_review .woocommerce-checkout-review-order-table .sullivan-checkout-backorder-note__eyebrow {
    color: #92400e;
    display: block;
    font-family: Archivo, sans-serif;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.08em;
    margin-bottom: 6px;
    text-transform: uppercase;
}

#order_review .woocommerce-checkout-review-order-table .sullivan-checkout-backorder-note__text {
    color: var(--gray-700);
    display: block;
    font-family: Archivo, sans-serif;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: normal;
    line-height: 1.5;
    text-transform: none;
}

#order_review .woocommerce-checkout-review-order-table .order-total th,
#order_review .woocommerce-checkout-review-order-table .order-total td {
    border-bottom: 0;
    padding-bottom: 0;
    padding-top: 22px;
}

#order_review .woocommerce-checkout-review-order-table .order-total th {
    color: var(--gray-900);
}

#order_review .woocommerce-checkout-review-order-table .order-total td {
    color: var(--gray-900);
    font-family: Newsreader, Georgia, serif;
    font-size: 28px;
    font-weight: 400;
    letter-spacing: -0.02em;
    line-height: 1.1;
}

#order_review .woocommerce-checkout-review-order-table .amount {
    white-space: nowrap;
}

@media ( min-width: 901px ) {
    #order_review .cart_item .product-name {
        width: 84%;
    }

    #order_review .cart_item .product-total {
        width: 16%;
    }
}

@media ( max-width: 680px ) {
    #order_review .cart_item .product-name {
        font-size: 18px;
        padding-right: 12px;
        width: auto;
    }

    #order_review .cart_item .product-total {
        font-size: 14px;
        text-align: right;
        white-space: nowrap;
        width: 1%;
    }

    #order_review .product-name .sullivan-checkout-product-name__line {
        align-items: flex-start;
        gap: 6px;
    }

    #order_review .product-name .sullivan-checkout-product-name__title {
        flex: 1 1 auto;
    }

    #order_review .product-name .sullivan-checkout-product-name__qty {
        font-size: 11px;
        padding: 6px 9px;
    }

    #order_review .product-name .sullivan-checkout-backorder {
        margin-top: 8px;
    }

    #order_review .product-name .sullivan-checkout-backorder .sullivan-backorder-plan-under-qty__card {
        gap: 6px;
    }

    #order_review .product-name .sullivan-checkout-backorder .sullivan-backorder-plan-under-qty__headline {
        font-size: 13px;
    }

    #order_review .product-name .sullivan-checkout-backorder .sullivan-backorder-plan-under-qty__detail {
        align-items: flex-start;
        gap: 2px;
        flex-direction: column;
    }

    #order_review .product-name .sullivan-checkout-backorder .sullivan-backorder-plan-under-qty__detail-label,
    #order_review .product-name .sullivan-checkout-backorder .sullivan-backorder-plan-under-qty__detail-value {
        font-size: 10px;
        line-height: 1.35;
    }

    #order_review .product-name .sullivan-checkout-backorder .sullivan-backorder-plan-under-qty__detail-value {
        text-align: left;
        white-space: normal;
    }

    #order_review .product-name .sullivan-checkout-backorder .sullivan-backorder-plan-under-qty__eta {
        font-size: 9px;
        line-height: 1.3;
        white-space: normal;
    }

    #order_review .woocommerce-checkout-review-order-table .sullivan-checkout-backorder-totals th {
        font-size: 10px;
    }

    #order_review .woocommerce-checkout-review-order-table .sullivan-checkout-backorder-totals td {
        font-size: 14px;
    }

    #order_review .woocommerce-checkout-review-order-table .sullivan-checkout-backorder-note__text {
        font-size: 11px;
        line-height: 1.45;
    }

    #order_review .woocommerce-checkout-review-order-table .order-total td {
        font-size: 24px;
    }
}

/* PAYMENT METHODS */

.wc_payment_methods {
    border-top: 1px solid #e5e7eb;
    margin-top: 20px;
    padding-top: 20px;
    margin-bottom: 24px;
}

#payment .place-order {
    border-top: 1px solid #e5e7eb;
    margin-top: 20px;
    padding-top: 20px;
}

@media ( max-width: 900px ) {
	form.woocommerce-checkout {
		display: block;
		max-width: 100%;
	}

	form.woocommerce-checkout #customer_details,
	form.woocommerce-checkout #order_review {
		width: 100%;
	}

	form.woocommerce-checkout #order_review {
		margin-top: 18px;
		position: static;
	}
}

@media ( max-width: 680px ) {
    form.woocommerce-checkout {
        display: block;
        max-width: 100%;
    }

    form.woocommerce-checkout #customer_details,
    form.woocommerce-checkout #order_review {
        border-radius: 16px;
        padding: 22px 16px;
        width: 100%;
    }

    form.woocommerce-checkout #order_review {
        margin-top: 18px;
        position: static;
    }

    form.woocommerce-checkout #customer_details .col-2 {
        margin-top: 24px;
    }
}

.wc_payment_methods li {
    padding-left: 30px;
    position: relative;
}

.wc_payment_methods li + li {
    border-top: 1px solid #e1e1e5;
    margin-top: 20px;
    padding-top: 20px;
}

.wc_payment_methods label {
    cursor: pointer;
    display: block;
    font-weight: 500;
    font-size: 16px;
    margin-bottom: 0;
    position: relative;
}

.wc_payment_methods > li > label:before,
.wc_payment_methods > li > label:after {
    border-radius: 50%;
    content: "";
    display: block;
    height: 16px;
    position: absolute;
        left: -30px;
        top: -1px;
    width: 16px;
}

.wc_payment_methods > li > input {
    position: absolute;
        left: -9999px;
}

.wc_payment_methods > li > label:before {
    border: 2px solid #111;
    cursor: pointer;
}

.wc_payment_methods > li > label:after {
    background: #111;
    height: 10px;
    left: -25px;
    top: 4px;
    transform: scale( 0 );
    transition: transform .15s ease-out;
    width: 10px;
}

.wc_payment_methods > li > input:checked + label:after {
    transform: scale( 1 );
}

.wc_payment_methods p {
    font-size: 14px;
    line-height: 1.4;
    margin-top: 8px;
}

/* PayPal Specific */

.payment_method_paypal img,
.payment_method_ppec_paypal img {
    position: absolute;
        right: 0;
        top: 50%;
    transform: translateY( -50% );
    width: 35px;
}

.payment_method_paypal .about_paypal {
    color: #66666E;
    font-size: 12px;
    padding: 5px 45px 5px 0;
    position: absolute;
        right: 0;
        top: 50%;
    transform: translateY( -50% );
}

.payment_method_paypal .about_paypal:hover {
    color: #111;
    text-decoration: none;
}


