body.da-purchase { background:var(--da-paper); color:var(--da-charcoal); font-family:var(--da-ui); }
body.da-purchase :is(.da-header,.da-footer) a { color:var(--da-paper); }
body.da-purchase :is(.da-header,.da-footer) a:hover { color:var(--da-gold); }
body.da-purchase .da-header button { border:0; border-radius:0; }
body.da-purchase main#content {
    width:100%; max-width:1440px; margin:auto; padding:clamp(22px,4vw,56px) var(--da-gutter);
}
/* Keep WooCommerce's wide blocks inside the purchase page gutters. */
body.da-purchase main#content .page-content > :is(.wp-block-woocommerce-cart,.wp-block-woocommerce-checkout).alignwide {
    width:100%; max-width:100%; margin-inline:0;
}
body.da-purchase main#content > .page-header {
    width:100%; max-width:none; margin-inline:0;
}
body.da-purchase main h1 { color:var(--da-charcoal); font:900 clamp(36px,7vw,80px)/1 var(--da-heading); text-transform:uppercase; }
body.da-purchase main :is(input,select,textarea,button) { font-family:var(--da-ui); }
body.da-purchase main :is(input,select,textarea) { font-size:16px; }
body.da-purchase main :is(a,button,input,select,textarea):focus-visible { outline:3px solid #8b6113; outline-offset:3px; }
body.da-purchase main a { color:var(--da-charcoal); }
body.da-purchase main .wc-block-components-button {
    min-height:44px; border-radius:0; background:var(--da-charcoal); color:var(--da-white);
    font-weight:750;
}
body.da-purchase main .wc-block-components-button:hover { background:var(--da-black); color:var(--da-gold); }
body.da-purchase main .wc-block-components-button:disabled { background:var(--da-line); color:var(--da-charcoal); }
body.da-purchase main .wc-block-components-sidebar { min-width:0; }
body.da-purchase main :is(.wc-block-components-totals-wrapper,.wc-block-components-order-summary) { border-color:var(--da-line); }
body.da-purchase main .wc-block-components-product-name { overflow-wrap:anywhere; }
.da-purchase-back a { display:inline-flex; align-items:center; min-height:44px; text-decoration:underline; }
.da-purchase-preview { background:var(--da-gold); color:var(--da-charcoal); padding:12px 16px; }
@media(min-width:768px) { body.da-purchase .da-header .da-menu-open { display:none; } }

body.da-order-received main#content > :is(.page-header,.page-content) {
    width:100%; max-width:68rem; margin-inline:auto;
}
body.da-order-received main#content .page-header .entry-title {
    max-width:none; margin-inline:0; padding-inline:0;
}
body.da-order-received .woocommerce-order { overflow-wrap:anywhere; }
body.da-order-received .woocommerce-order :is(table.shop_table,address) {
    background:var(--da-white); border:1px solid var(--da-line);
}
body.da-order-received .woocommerce-order address { padding:16px; }
body.da-order-received .woocommerce-order h2 { font:750 clamp(22px,3vw,32px)/1.2 var(--da-ui); }

/* Override the classic WooCommerce summary spacing inside the confirmation only. */
body.da-order-received main#content .woocommerce ul.woocommerce-order-overview {
    display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,10.5rem),1fr));
    gap:12px; width:100%; margin:0 0 32px; padding:0; list-style:none;
}
/* The classic WooCommerce clearfix would occupy grid cells. */
body.da-order-received main#content .woocommerce ul.woocommerce-order-overview::before,
body.da-order-received main#content .woocommerce ul.woocommerce-order-overview::after {
    content:none; display:none;
}
body.da-order-received main#content .woocommerce ul.woocommerce-order-overview > li {
    float:none; min-width:0; margin:0; padding:14px;
    border:1px solid var(--da-line); background:var(--da-white);
}
body.da-order-received main#content .woocommerce-order .woocommerce-column__title {
    float:none; clear:both; margin:0 0 12px; padding:0; height:auto;
    line-height:1.25;
}
