/* Order Review ----------------------------- */

form.woocommerce-checkout .order-review-wrapper.woo-gray-box {
    background: transparent;
}

#order_review thead {
    display: none;
}

#order_review .shop_table.woocommerce-checkout-review-order-table {
    border-collapse: separate;
    border-spacing: 0;
    margin-bottom: 0;
    width: 100%;
}

#order_review ul,
#order_review ol,
#payment ul,
#payment ol,
.wc_payment_methods,
.wc_payment_methods li,
#shipping_method,
#shipping_method li {
    list-style: none;
    margin-left: 0;
    padding-left: 0;
}

#order_review .shop_table tbody td,
#order_review .shop_table tbody th,
#order_review .shop_table tfoot td,
#order_review .shop_table tfoot th {
    color: var(--gray-800);
    font-size: 14px;
    line-height: 1.55;
}

#order_review .shop_table td,
#order_review .shop_table th {
    border-bottom: 1px solid #e5e7eb;
    padding-bottom: 16px;
    padding-left: 0;
    padding-right: 0;
    padding-top: 16px;
    vertical-align: top;
}

#order_review tbody tr:last-child {
    border-bottom-width: 1px;
}

#order_review tbody tr:first-child td {
    padding-top: 0;
}

#order_review .shop_table tbody tr:last-child td {
    padding-bottom: 20px;
}

#order_review tfoot th {
    color: var(--gray-600);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-align: right;
    text-transform: uppercase;
}

.product-name .product-quantity {
    font-weight: 400;
}

#order_review .product-name {
    align-items: flex-start;
    display: block;
}

#order_review .product-name,
#order_review .cart_item .product-name,
#order_review .cart-subtotal th,
#order_review .shipping th,
#order_review .fee th,
#order_review .tax-total th,
#order_review .tax-rate th,
#order_review .coupon th,
#order_review .order-total th {
    padding-right: 18px;
}

#order_review .cart_item .product-name {
    font-family: Newsreader, Georgia, serif;
    font-size: 16px;
    letter-spacing: -0.015em;
    line-height: 1.2;
    width: 80%;
}

#order_review .cart_item .product-total {
    font-family: Archivo, 'Helvetica Neue', Helvetica, sans-serif;
    font-size: 15px;
    font-weight: 600;
    text-align: right;
    white-space: nowrap;
    width: 20%;
}

#order_review .product-name .sullivan-checkout-product-name__line {
    align-items: flex-start;
    display: flex;
    gap: 8px;
}

#order_review .product-name .sullivan-checkout-product-name__title {
    flex: 1 1 auto;
    min-width: 0;
}

#order_review .product-name .sullivan-checkout-product-name__title,
#order_review .product-name .sullivan-checkout-product-name__title a {
    overflow-wrap: break-word;
    word-break: normal;
}

#order_review .product-name .sullivan-checkout-product-name__qty {
    align-items: center;
    background: #f3f4f6;
    border: 1px solid #e5e7eb;
    border-radius: 999px;
    color: var(--gray-600);
    display: inline-flex;
    flex: 0 0 auto;
    font-family: Newsreader, Georgia'Helvetica Neue', Helvetica, sans-serif;
    font-size: 12px;
    font-weight: 600;
    line-height: 1;
    padding: 7px 10px;
    text-align: right;
    white-space: nowrap;
}

#order_review .product-name .sullivan-checkout-backorder {
    margin-top: 10px;
    width: 100%;
}

#order_review .product-name .sullivan-checkout-backorder .sullivan-backorder-plan-under-qty__card {
    max-width: 100%;
}

#order_review .product-name .sullivan-checkout-backorder .sullivan-backorder-plan-under-qty__details {
    display: grid;
    gap: 4px;
}

#order_review .product-name .sullivan-checkout-backorder .sullivan-backorder-plan-under-qty__detail {
    align-items: baseline;
    display: flex;
    gap: 12px;
    justify-content: space-between;
}

#order_review .product-name .sullivan-checkout-backorder .sullivan-backorder-plan-under-qty__detail-label {
    color: #64748b;
    font-family: Archivo, sans-serif;
    font-size: 11px;
    line-height: 1.4;
}

#order_review .product-name .sullivan-checkout-backorder .sullivan-backorder-plan-under-qty__detail-value {
    color: #0f172a;
    font-family: Archivo, sans-serif;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.4;
    text-align: right;
    white-space: nowrap;
}

#order_review .woocommerce-checkout-review-order-table .variation,
#order_review .woocommerce-checkout-review-order-table dl.variation {
    color: var(--gray-600);
    font-size: 12px;
    line-height: 1.5;
    margin-top: 10px;
}

#order_review .woocommerce-checkout-review-order-table .variation dt,
#order_review .woocommerce-checkout-review-order-table .variation dd,
#order_review .woocommerce-checkout-review-order-table dl.variation dt,
#order_review .woocommerce-checkout-review-order-table dl.variation dd {
    display: inline;
}

#order_review .woocommerce-checkout-review-order-table .variation dd,
#order_review .woocommerce-checkout-review-order-table dl.variation dd {
    margin-left: 4px;
}

#order_review .woocommerce-checkout-review-order-table .variation .sullivan-backorder-plan-under-qty,
#order_review .woocommerce-checkout-review-order-table dl.variation .sullivan-backorder-plan-under-qty {
    display: block;
    margin-top: 10px;
    max-width: 100%;
}

#order_review .woocommerce-checkout-review-order-table .variation .sullivan-backorder-plan-under-qty__title,
#order_review .woocommerce-checkout-review-order-table dl.variation .sullivan-backorder-plan-under-qty__title {
    color: #475569;
    display: inline-flex;
    font-family: Archivo, sans-serif;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.08em;
    margin-bottom: 4px;
    padding: 0;
    text-transform: uppercase;
}

#order_review .woocommerce-checkout-review-order-table .variation .sullivan-backorder-plan-under-qty__qty,
#order_review .woocommerce-checkout-review-order-table dl.variation .sullivan-backorder-plan-under-qty__qty {
    color: #64748b;
    display: block;
    font-family: Archivo, sans-serif;
    font-size: 11px;
    margin: 0 0 7px;
}

#order_review .woocommerce-checkout-review-order-table .variation .sullivan-backorder-plan-under-qty__card,
#order_review .woocommerce-checkout-review-order-table dl.variation .sullivan-backorder-plan-under-qty__card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-left: 3px solid #94a3b8;
    border-radius: 8px;
    display: grid;
    gap: 4px;
    margin-top: 0;
    padding: 9px 10px;
}

#order_review .woocommerce-checkout-review-order-table .variation .sullivan-backorder-plan-under-qty__headline,
#order_review .woocommerce-checkout-review-order-table dl.variation .sullivan-backorder-plan-under-qty__headline {
    color: #0f172a;
    display: block;
    font-family: Archivo, sans-serif;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.25;
}

#order_review .woocommerce-checkout-review-order-table .variation .sullivan-backorder-plan-under-qty__summary,
#order_review .woocommerce-checkout-review-order-table dl.variation .sullivan-backorder-plan-under-qty__summary {
    color: #64748b;
    display: block;
    font-family: Archivo, sans-serif;
    font-size: 11px;
    line-height: 1.4;
}

#order_review .woocommerce-checkout-review-order-table .variation .sullivan-backorder-plan-under-qty__eta,
#order_review .woocommerce-checkout-review-order-table dl.variation .sullivan-backorder-plan-under-qty__eta {
    align-items: center;
    background: transparent;
    border-radius: 0;
    color: #92400e;
    display: inline-flex;
    font-family: Archivo, sans-serif;
    font-size: 10px;
    font-weight: 700;
    line-height: 1;
    padding: 0;
    text-transform: uppercase;
}

