/* Exact-piece purchase controls use the same stone and forest palette. */
.card-buy{display:flex;align-items:center;justify-content:center;gap:12px;min-height:44px;margin:12px 0 4px;padding:10px 12px;background:#273c30;border:1px solid #273c30;color:#fff;font-size:12px;font-weight:600;text-align:center}
.card-buy:hover{background:#3d5342}
.product-quote-actions:has([data-buy]:not([hidden])){display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.product-quote-actions:has([data-buy]:not([hidden]))>[data-buy]{grid-column:1/-1;min-height:52px}
.piece-badge[data-checkout-status=reserved],.piece-badge[data-checkout-status=processing],.piece-badge[data-checkout-status=unconfirmed]{background:#e9ebe1;border-color:#a8afa0;color:#4b5647}
.exact-piece-note[data-checkout-status=reserved],.exact-piece-note[data-checkout-status=processing],.exact-piece-note[data-checkout-status=unconfirmed]{background:#e9ebe1;border-left-color:#a8afa0}
.payment-test-banner{padding:12px 20px;background:#efe7d0;border-bottom:1px solid #c4ac74;color:#55451f;text-align:center;font-size:13px;line-height:1.6}
.payment-test-banner a,.checkout-test-note a{text-decoration:underline;text-underline-offset:3px}
.checkout-wrap{padding-bottom:80px}
.checkout-test-note,.checkout-message{margin-bottom:24px;padding:18px 22px;border-left:3px solid #8f9d7e;background:#e9ebe1;line-height:1.7;overflow-wrap:anywhere}
.checkout-test-note{border-left-color:#b29b5c;background:#efe7d0;font-size:14px}
.checkout-message[data-kind=error],.checkout-message[data-kind=review]{border-left-color:#b69c71;background:#f1e9dc}
.checkout-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(310px,380px);gap:48px;align-items:start}
.checkout-main,.checkout-summary{min-width:0}
#checkout-form,.checkout-review,.checkout-result,#checkout-payment{margin:0 0 24px;padding:28px;border:1px solid #c3cbb9;background:#fafaf4}
#checkout-fields{min-width:0;margin:0;padding:0;border:0}
#checkout-fields>legend{margin-bottom:16px;padding:0;font:28px/1.25 Georgia,serif;letter-spacing:-.025em}
.checkout-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin:24px 0}
.checkout-fields>label,.checkout-fields>div>label{display:flex;flex-direction:column;gap:7px;font-size:13px;font-weight:600}
.checkout-fields input,.checkout-fields select{min-width:0;width:100%;min-height:48px;padding:11px 12px;border:1px solid #b9c5ae;border-radius:0;background:#fff;color:#252923;font-size:16px;font-weight:400}
.checkout-fields input[readonly]{background:#edeFE5;color:#5c6258}
.checkout-fields input:disabled,.checkout-fields select:disabled{opacity:.7}
.checkout-fields [aria-invalid=true]{border-color:#96643f;box-shadow:inset 0 0 0 1px #96643f}
.checkout-field-error{display:block;color:#754429;font-size:13px;font-weight:400;line-height:1.6;overflow-wrap:anywhere}
.checkout-field-help{font-size:12px;font-weight:400;line-height:1.6;color:#5c6258}
.checkout-errors{margin:20px 0;padding:16px 18px;border-left:3px solid #96643f;background:#f1e9dc;font-size:14px;line-height:1.7;overflow-wrap:anywhere}
.checkout-errors strong{color:#754429}
.checkout-errors ul{margin:10px 0 0;padding-left:20px;font-size:13px}
.checkout-errors a{display:block;min-height:44px;padding:6px 0;text-decoration:underline;text-underline-offset:3px}
.checkout-errors[hidden],.checkout-field-error[hidden]{display:none}
.checkout-errors,.checkout-message,.checkout-fields input,.checkout-fields select,.checkout-terms input,.checkout-result h2,.checkout-review h3{scroll-margin-top:12px}
.checkout-errors:focus-visible,.checkout-result h2:focus-visible,.checkout-review h3:focus-visible{outline:3px solid #b07333;outline-offset:4px}
.checkout-wide{grid-column:1/-1;min-width:0}
.checkout-terms{display:flex;align-items:flex-start;gap:12px;margin:24px 0 18px;font-size:13px;line-height:1.7}
.checkout-terms>input{flex-shrink:0;width:20px;height:20px;margin:2px 0 0;accent-color:#273c30}
.checkout-terms .checkout-field-error{margin-top:8px}
.checkout-terms a,.checkout-destination a,.checkout-summary p a{text-decoration:underline;text-underline-offset:3px}
.checkout-verification{margin:10px 0 20px}
.checkout-verification p:empty{display:none}
.checkout-verification button,.checkout-controls .text-link{min-height:44px;border:0;background:none;color:#344c38;text-decoration:underline;text-underline-offset:4px}
.checkout-main .btn:disabled{cursor:wait;opacity:.6}
.checkout-main .small{font-size:13px;line-height:1.7;color:#5c6258}
#checkout-submit{min-height:50px;margin:0 0 14px;gap:14px}
#checkout-form .small:last-child,#checkout-payment .small:last-child{margin-bottom:0}
.checkout-result h2{font-size:36px;line-height:1.15;margin:4px 0 18px}
.checkout-result[data-kind=success]{border-color:#8f9d7e;background:#e8eddf}
.checkout-reference{padding-top:16px;border-top:1px solid #c3cbb9;font-size:13px;overflow-wrap:anywhere}
.checkout-reference strong{display:block;margin-top:6px;font:14px/1.7 Arial,Helvetica,sans-serif;letter-spacing:.015em}
.checkout-review h3,#checkout-payment h3{font:26px/1.25 Georgia,serif;margin-bottom:18px}
.checkout-review address{font-style:normal;font-size:15px;line-height:1.7;white-space:pre-line;overflow-wrap:anywhere}
#checkout-review-email{font-size:14px;overflow-wrap:anywhere}
.checkout-controls{display:flex;flex-wrap:wrap;align-items:center;gap:12px}
.checkout-controls .btn{min-height:48px;gap:12px}
#paypal-buttons{max-width:500px;min-height:44px}
#paypal-loading{margin:14px 0;overflow-wrap:anywhere}
.checkout-summary{position:sticky;top:calc(var(--site-header-height,80px) + 24px);padding:24px;border:1px solid #c3cbb9;background:#eeeee4}
.checkout-summary>a:first-child{display:block;margin-bottom:20px}
.checkout-summary img{width:100%;aspect-ratio:1;object-fit:contain;background:#f5f3ec}
.checkout-summary h2{font-size:30px;line-height:1.15;margin:8px 0 14px;overflow-wrap:anywhere}
.checkout-summary .eyebrow{font-size:10px;letter-spacing:.08em}
.checkout-summary .small{font-size:12px;line-height:1.65;color:#5c6258}
.checkout-total{margin:22px 0;border-top:1px solid #bdc6b3;font-size:13px}
.checkout-total>div{display:flex;justify-content:space-between;align-items:baseline;gap:20px;padding:9px 0}
.checkout-total dt,.checkout-total dd{margin:0}
.checkout-total dd{text-align:right;white-space:nowrap}
.checkout-total-line{margin-top:8px;padding-top:16px!important;border-top:1px solid #bdc6b3;font-weight:600}
.checkout-total-line dd{font-size:24px;letter-spacing:-.025em}
.checkout-summary>.text-link{display:block;padding:7px 0;min-height:44px;font-size:12px;line-height:1.6;text-decoration:underline;text-underline-offset:4px}
.checkout-wholesale{margin:18px 0 0;padding-top:18px;border-top:1px solid #bdc6b3}
@media(max-width:1100px){.checkout-layout{gap:24px;grid-template-columns:minmax(0,1fr) 310px}.checkout-summary{padding:20px}#checkout-form,.checkout-review,.checkout-result,#checkout-payment{padding:22px}.checkout-fields{grid-template-columns:1fr}.checkout-wide{grid-column:auto}}
@media(max-width:800px){.checkout-layout{grid-template-columns:minmax(0,1fr);gap:24px}.checkout-summary{position:static;grid-row:1;display:grid;grid-template-columns:112px minmax(0,1fr);column-gap:18px}.checkout-summary>a:first-child{grid-column:1;grid-row:1/4;margin:0}.checkout-summary>.eyebrow,.checkout-summary>h2,.checkout-summary>#checkout-piece-status{grid-column:2}.checkout-summary>h2{font-size:25px;margin:6px 0 10px}.checkout-summary>.checkout-total,.checkout-summary>p:not(#checkout-piece-status),.checkout-summary>.text-link{grid-column:1/-1}.checkout-summary>.eyebrow{margin-bottom:0;overflow-wrap:anywhere}.checkout-total{margin:18px 0}.checkout-fields{grid-template-columns:repeat(2,minmax(0,1fr))}.checkout-wide{grid-column:1/-1}.checkout-message,.checkout-test-note{padding:16px 18px}.product-quote-actions:has([data-buy]:not([hidden])){grid-template-columns:minmax(0,1fr)}.product-quote-actions:has([data-buy]:not([hidden]))>[data-buy]{grid-column:auto}}
@media(max-width:540px){.checkout-wrap{padding-bottom:48px}.checkout-fields{grid-template-columns:minmax(0,1fr);gap:16px}.checkout-wide{grid-column:auto}#checkout-fields>legend{font-size:25px}#checkout-form,.checkout-review,.checkout-result,#checkout-payment{padding:20px 18px}.checkout-result h2{font-size:30px}.checkout-controls{align-items:stretch}.checkout-controls .btn{width:100%}#checkout-submit{width:100%}.checkout-summary{padding:18px;grid-template-columns:90px minmax(0,1fr);column-gap:14px}.checkout-summary h2{font-size:23px}.checkout-summary .eyebrow{font-size:9px}.checkout-total-line dd{font-size:23px}.payment-test-banner{padding:10px 16px;font-size:12px}}
@media print{.payment-test-banner,#checkout-form,#checkout-payment,.checkout-controls{display:none}.checkout-summary{position:static}}
