.custom-order-layout{display:grid;grid-template-columns:minmax(0,1fr);gap:24px;max-width:900px;margin:0 auto 50px}.custom-order-panel label{display:block;margin:0 0 18px;color:var(--muted)}.custom-order-panel input,.custom-order-panel select,.custom-order-panel textarea{display:block;width:100%;box-sizing:border-box;margin-top:8px}.custom-order-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 20px}.custom-order-pricing{border-top:1px solid var(--line);padding-top:16px}.custom-order-pricing p{display:flex;justify-content:space-between;gap:20px}.custom-order-summary dl{display:grid;grid-template-columns:130px 1fr;gap:10px 18px}.custom-order-summary dt{color:var(--muted)}.custom-order-summary dd{margin:0;overflow-wrap:anywhere}.custom-description{white-space:pre-wrap;overflow-wrap:anywhere}.custom-order-panel .btn{width:100%}@media(max-width:600px){.custom-order-grid{grid-template-columns:1fr}.custom-order-summary dl{grid-template-columns:100px 1fr}}

/* Reuse .field controls from the storefront stylesheet, with homepage picker behavior. */
.custom-order-layout,.custom-order-panel,.custom-order-summary,.custom-order-grid,.custom-order-panel .field{min-width:0;box-sizing:border-box}
.custom-order-panel input,.custom-order-panel select,.custom-order-panel textarea{min-width:0;min-height:48px;font:inherit;font-size:16px}
.custom-order-panel select{appearance:auto;cursor:pointer;touch-action:manipulation;padding-right:12px}
.custom-order-panel select:focus-visible,.custom-order-panel input:focus-visible,.custom-order-panel textarea:focus-visible{outline:2px solid #20cba8;outline-offset:2px}
.custom-order-panel textarea{resize:vertical;min-height:130px}
.custom-order-summary h2,.custom-order-summary dd,.custom-description{overflow-wrap:anywhere}
.custom-order-pricing strong{white-space:nowrap;font-size:inherit}
.custom-order-panel .btn{min-height:48px;box-sizing:border-box}
@media(max-width:600px){.custom-order-layout{width:100%;gap:16px}.custom-order-panel,.custom-order-summary{padding:16px}.custom-order-grid{gap:0}.custom-order-pricing p{flex-wrap:wrap;gap:6px 16px}.custom-order-summary dl{grid-template-columns:minmax(0,90px) minmax(0,1fr)}}

/* One storefront-width frame aligns the title, quote, fields and payment column. */
.custom-order-hero{padding-bottom:22px}
.custom-order-layout{width:100%;max-width:none;margin:0 0 50px;gap:24px}
.custom-order-panel{max-width:none;text-align:left;padding:28px}
.custom-checkout-grid{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(280px,1fr);gap:32px;align-items:start}
.custom-details,.custom-payment{min-width:0}
.custom-section-title{font-size:19px;line-height:1.4;margin:0 0 22px;font-weight:650;color:var(--text)}
.custom-payment{border-left:1px solid var(--line);padding-left:28px}
.custom-order-pricing{border-top:0;padding-top:0}
.custom-order-pricing p{font-size:14px;margin:0 0 18px;align-items:baseline}
.custom-order-pricing .price{padding-top:18px;border-top:1px solid var(--line);font-size:22px;color:var(--accent)}
.custom-payment>.muted{font-size:12px;line-height:1.7;margin:20px 0}
.custom-payment>.btn{min-height:48px;font-size:15px}
.custom-order-panel .field{font-size:13px;line-height:1.5;margin-bottom:20px}
.custom-order-grid{gap:0 20px}
.custom-order-panel textarea{min-height:150px}
.custom-order-summary{margin:0}
@media(max-width:800px){.custom-checkout-grid{grid-template-columns:minmax(0,1fr);gap:24px}.custom-payment{border-left:0;border-top:1px solid var(--line);padding:24px 0 0}}
@media(max-width:600px){.custom-order-panel{padding:18px 16px}.custom-order-grid{grid-template-columns:minmax(0,1fr)}.custom-section-title{font-size:18px}.custom-order-pricing .price{font-size:20px}.custom-order-hero h1{font-size:28px}}
