body.spacer-theme.woocommerce-cart .cart-collaterals,
body.spacer-theme .cart-collaterals{
    display:grid;
    gap:var(--content-flow-lg);
}

body.spacer-theme.woocommerce-cart form.woocommerce-cart-form,
body.spacer-theme.woocommerce-cart .cart-collaterals .cart_totals,
body.spacer-theme form.woocommerce-cart-form,
body.spacer-theme .cart-collaterals .cart_totals{
    padding:var(--panel-padding-md);
    border:1px solid var(--border-light) !important;
    border-radius:var(--radius-lg);
    background:var(--bg-card) !important;
    box-shadow:var(--shadow-sm) !important;
}

body.spacer-theme.woocommerce-cart form.woocommerce-cart-form,
body.spacer-theme form.woocommerce-cart-form{
    margin-bottom:var(--content-flow-lg);
}

body.spacer-theme.woocommerce-cart table.shop_table,
body.spacer-theme table.shop_table.shop_table_responsive.cart,
body.spacer-theme .cart_totals table.shop_table{
    width:100%;
    margin:0;
    border-collapse:separate;
    border-spacing:0;
    background:transparent;
    border-radius:inherit;
    overflow:hidden;
}

body.spacer-theme.woocommerce-cart table.shop_table th,
body.spacer-theme.woocommerce-cart table.shop_table td,
body.spacer-theme table.shop_table.shop_table_responsive.cart th,
body.spacer-theme table.shop_table.shop_table_responsive.cart td,
body.spacer-theme .cart_totals table.shop_table th,
body.spacer-theme .cart_totals table.shop_table td{
    padding:var(--content-flow-md) var(--cluster-gap-panel);
    border-bottom:1px solid var(--border-light);
}

body.spacer-theme.woocommerce-cart table.shop_table tbody tr:last-child th,
body.spacer-theme.woocommerce-cart table.shop_table tbody tr:last-child td,
body.spacer-theme.woocommerce-cart table.shop_table tr:last-child td,
body.spacer-theme table.shop_table.shop_table_responsive.cart tbody tr:last-child th,
body.spacer-theme table.shop_table.shop_table_responsive.cart tbody tr:last-child td,
body.spacer-theme table.shop_table.shop_table_responsive.cart tr:last-child td,
body.spacer-theme .cart_totals table.shop_table tbody tr:last-child th,
body.spacer-theme .cart_totals table.shop_table tbody tr:last-child td,
body.spacer-theme .cart_totals table.shop_table tr:last-child td{
    border-bottom:none;
}

body.spacer-theme.woocommerce-cart .cart_totals h2,
body.spacer-theme .cart_totals h2{
    margin-bottom:var(--content-flow-lg);
}

body.spacer-theme.woocommerce-cart .actions .coupon,
body.spacer-theme .actions .coupon{
    display:flex;
    flex-wrap:wrap;
    gap:var(--cluster-gap-sm);
}

body.spacer-theme.woocommerce-cart .actions .coupon .input-text,
body.spacer-theme .actions .coupon .input-text{
    flex:1 1 220px;
    min-width:220px;
    width:auto;
}

body.spacer-theme .wc-proceed-to-checkout .checkout-button,
body.spacer-theme .wc-proceed-to-checkout .button,
body.spacer-theme .woocommerce-checkout-payment #place_order,
body.spacer-theme #payment #place_order,
body.spacer-theme.woocommerce-cart .actions .button,
body.spacer-theme.woocommerce-checkout form.checkout_coupon .button{
    height:var(--control-height-md) !important;
    min-height:var(--control-height-md);
    padding:0 var(--space-20);
    border-radius:var(--control-radius);
}

body.spacer-theme.woocommerce-cart .actions .input-text,
body.spacer-theme.woocommerce-cart .quantity .qty,
body.spacer-theme form.woocommerce-cart-form .actions .input-text,
body.spacer-theme form.woocommerce-cart-form .quantity .qty,
body.spacer-theme .cart_totals .quantity .qty{
    border-radius:var(--control-radius);
}

body.spacer-theme.woocommerce-checkout .woocommerce-form-coupon-toggle .woocommerce-info,
body.spacer-theme.woocommerce-checkout .woocommerce-notices-wrapper .woocommerce-info,
body.spacer-theme.woocommerce-checkout .woocommerce-notices-wrapper .woocommerce-message,
body.spacer-theme.woocommerce-checkout .woocommerce-notices-wrapper .woocommerce-error,
body.spacer-theme.woocommerce-checkout .woocommerce-info,
body.spacer-theme.woocommerce-checkout .woocommerce-message,
body.spacer-theme.woocommerce-checkout .woocommerce-error{
    display:grid;
    gap:var(--space-10);
    margin:0 0 var(--content-flow-md);
    padding:var(--panel-padding-sm) var(--panel-padding-md);
    border:1px solid var(--border-light) !important;
    border-radius:var(--radius-lg);
    background:var(--bg-card) !important;
    color:var(--text-primary);
    box-shadow:var(--shadow-sm) !important;
}

body.spacer-theme.woocommerce-checkout .woocommerce-error{
    padding-left:var(--panel-padding-md);
    list-style:none;
}

body.spacer-theme.woocommerce-checkout .woocommerce-form-coupon-toggle .showcoupon,
body.spacer-theme.woocommerce-checkout .woocommerce-info .showcoupon{
    color:var(--brand-primary);
    font-weight:var(--fw-800);
}

body.spacer-theme.woocommerce-checkout form.checkout_coupon{
    margin:0 0 var(--content-flow-lg);
    padding:var(--panel-padding-md);
    border:1px solid var(--border-light) !important;
    border-radius:var(--radius-lg);
    background:var(--bg-card) !important;
    box-shadow:var(--shadow-sm) !important;
}

body.spacer-theme.woocommerce-checkout form.checkout_coupon p{
    margin:0;
}

body.spacer-theme.woocommerce-checkout #order_review .woocommerce-checkout-review-order-table,
body.spacer-theme.woocommerce-checkout table.woocommerce-checkout-review-order-table{
    width:100%;
    margin:0;
    border:1px solid var(--border-light) !important;
    border-collapse:separate;
    border-spacing:0;
    border-radius:var(--radius-lg);
    background:var(--bg-card) !important;
    box-shadow:var(--shadow-sm) !important;
    overflow:hidden;
}

body.spacer-theme.woocommerce-checkout .woocommerce-checkout-review-order-table thead th{
    padding:var(--space-18) var(--space-20);
    border-bottom:1px solid var(--border-light);
    color:var(--text-secondary);
    font-size:var(--fs-12);
    font-weight:var(--fw-800);
    letter-spacing:var(--type-copy-tracking);
    text-transform:uppercase;
    background:var(--surface-warm-soft);
}

body.spacer-theme.woocommerce-checkout .woocommerce-checkout-review-order-table tbody td,
body.spacer-theme.woocommerce-checkout .woocommerce-checkout-review-order-table tfoot th,
body.spacer-theme.woocommerce-checkout .woocommerce-checkout-review-order-table tfoot td{
    padding:var(--space-18) var(--space-20);
    border-bottom:1px solid var(--border-light);
    color:var(--text-primary);
    background:transparent;
}

body.spacer-theme.woocommerce-checkout .woocommerce-checkout-review-order-table tbody tr:last-child td,
body.spacer-theme.woocommerce-checkout .woocommerce-checkout-review-order-table tfoot tr:last-child th,
body.spacer-theme.woocommerce-checkout .woocommerce-checkout-review-order-table tfoot tr:last-child td{
    border-bottom:none;
}

body.spacer-theme.woocommerce-checkout .woocommerce-checkout-review-order-table tbody .product-name,
body.spacer-theme.woocommerce-checkout .woocommerce-checkout-review-order-table tfoot th{
    font-weight:var(--fw-700);
}

body.spacer-theme.woocommerce-checkout .woocommerce-checkout-review-order-table .product-total,
body.spacer-theme.woocommerce-checkout .woocommerce-checkout-review-order-table tfoot td{
    text-align:right;
    font-weight:var(--fw-800);
}

body.spacer-theme.woocommerce-checkout .woocommerce-checkout-review-order-table .product-quantity,
body.spacer-theme.woocommerce-checkout .woocommerce-checkout-review-order-table .cart-discount td,
body.spacer-theme.woocommerce-checkout .woocommerce-checkout-review-order-table .cart-discount .amount{
    color:var(--brand-primary);
}

body.spacer-theme.woocommerce-checkout .woocommerce-checkout-review-order-table .order-total th,
body.spacer-theme.woocommerce-checkout .woocommerce-checkout-review-order-table .order-total td,
body.spacer-theme.woocommerce-checkout .woocommerce-checkout-review-order-table .order-total .amount{
    font-size:var(--fs-18);
    font-weight:var(--fw-800);
}

body.spacer-theme.woocommerce-checkout .woocommerce-checkout-review-order-table .woocommerce-Price-amount,
body.spacer-theme.woocommerce-checkout .woocommerce-checkout-review-order-table .amount{
    white-space:nowrap;
}

body.spacer-theme.woocommerce-order-received .woocommerce-order,
body.spacer-theme.woocommerce-order-received .woocommerce-order-details,
body.spacer-theme.woocommerce-order-received .woocommerce-customer-details{
    display:grid;
    gap:var(--content-flow-lg);
}

body.spacer-theme.woocommerce-order-received .woocommerce-thankyou-order-received,
body.spacer-theme.woocommerce-order-received .woocommerce-thankyou-order-failed{
    margin:0;
    padding:var(--panel-padding-md);
    border:1px solid var(--border-light);
    border-radius:var(--radius-lg);
    background:var(--bg-card);
    box-shadow:var(--shadow-sm);
    color:var(--text-primary);
}

body.spacer-theme.woocommerce-order-received .woocommerce-thankyou-order-failed-actions{
    display:flex;
    flex-wrap:wrap;
    gap:var(--space-12);
    margin:0;
}

body.spacer-theme.woocommerce-order-received .woocommerce-thankyou-order-failed-actions .button{
    min-height:var(--control-height-md);
    border-radius:var(--control-radius);
}

body.spacer-theme.woocommerce-order-received .woocommerce-thankyou-order-details.order_details{
    display:grid;
    grid-template-columns:repeat(auto-fit, minmax(180px, 1fr));
    gap:var(--space-16);
    padding:0;
    margin:0;
    list-style:none;
}

body.spacer-theme.woocommerce-order-received .woocommerce-thankyou-order-details.order_details li{
    padding:var(--panel-padding-sm);
    border:1px solid var(--border-light);
    border-radius:var(--radius-lg);
    background:var(--bg-card);
    box-shadow:var(--shadow-sm);
    color:var(--text-secondary);
    font-size:var(--fs-13);
    font-weight:var(--fw-700);
    line-height:var(--lh-body);
}

body.spacer-theme.woocommerce-order-received .woocommerce-thankyou-order-details.order_details strong{
    display:block;
    margin-top:var(--space-6);
    color:var(--text-primary);
    font-size:var(--fs-16);
    font-weight:var(--fw-800);
}

body.spacer-theme.woocommerce-order-received .woocommerce-order-details,
body.spacer-theme.woocommerce-order-received .woocommerce-customer-details{
    padding:var(--panel-padding-md);
    border:1px solid var(--border-light);
    border-radius:var(--radius-lg);
    background:var(--bg-card);
    box-shadow:var(--shadow-sm);
}

body.spacer-theme.woocommerce-order-received .woocommerce-order-details h2,
body.spacer-theme.woocommerce-order-received .woocommerce-customer-details h2,
body.spacer-theme.woocommerce-order-received .woocommerce-customer-details h3{
    margin:0;
}

body.spacer-theme.woocommerce-order-received .woocommerce-order-details .shop_table.order_details,
body.spacer-theme.woocommerce-order-received .woocommerce-customer-details table.customer_details{
    width:100%;
    margin:0;
    border:1px solid var(--border-light);
    border-collapse:separate;
    border-spacing:0;
    border-radius:var(--radius-lg);
    background:var(--bg-card);
    overflow:hidden;
}

body.spacer-theme.woocommerce-order-received .woocommerce-order-details .shop_table.order_details th,
body.spacer-theme.woocommerce-order-received .woocommerce-order-details .shop_table.order_details td,
body.spacer-theme.woocommerce-order-received .woocommerce-customer-details table.customer_details th,
body.spacer-theme.woocommerce-order-received .woocommerce-customer-details table.customer_details td{
    padding:var(--space-18) var(--space-20);
    border-bottom:1px solid var(--border-light);
}

body.spacer-theme.woocommerce-order-received .woocommerce-order-details .shop_table.order_details tr:last-child th,
body.spacer-theme.woocommerce-order-received .woocommerce-order-details .shop_table.order_details tr:last-child td,
body.spacer-theme.woocommerce-order-received .woocommerce-customer-details table.customer_details tr:last-child th,
body.spacer-theme.woocommerce-order-received .woocommerce-customer-details table.customer_details tr:last-child td{
    border-bottom:none;
}

body.spacer-theme.woocommerce-order-received .woocommerce-customer-details .addresses{
    display:grid;
    grid-template-columns:repeat(2, minmax(0, 1fr));
    gap:var(--space-18);
}

body.spacer-theme.woocommerce-order-received .woocommerce-customer-details address{
    margin:0;
    padding:var(--panel-padding-sm);
    border:1px solid var(--border-light);
    border-radius:var(--radius-lg);
    background:var(--surface-warm-soft);
    color:var(--text-primary);
}

