/* r27: isolated checkout/quote surfaces; WooCommerce owns all payment fields. */
body.ctr-stage-payment-document {
  --ctr-ink: #142d3e;
  --ctr-green: #16804c;
  --ctr-border: #d9e3e5;
  margin: 0 !important; background:#f5f8f8 !important; color:var(--ctr-ink);
  font-family: "Segoe UI", "Helvetica Neue", sans-serif; font-size: 15px; line-height:1.55;
}
.ctr-stage-payment-document *, .ctr-stage-payment-document *::before, .ctr-stage-payment-document *::after { box-sizing:border-box; }
.ctr-stage-payment-document a { color:#176d48; }
.ctr-stage-payment-document :is(a,input,button,select,textarea):focus-visible {outline:3px solid #198b5e;outline-offset:2px;}
.ctr-stage-header {background:#fff; border-bottom:1px solid #dce5e6;box-shadow:0 5px 20px rgba(15,49,61,.025);}
.ctr-stage-head-inner {max-width:1080px;margin:0 auto;min-height:90px;padding:15px 22px;display:flex;align-items:center;justify-content:space-between;gap:24px;}
.ctr-stage-brand {display:inline-flex;align-items:center;max-width:200px;}
.ctr-stage-brand img {display:block;width:180px;height:auto;max-height:65px;object-fit:contain;}
.ctr-stage-header nav {display:flex;align-items:center;gap:22px;}
.ctr-stage-header nav a {text-decoration:none;font-weight:700;font-size:14px;color:var(--ctr-ink);}
.ctr-stage-header nav a:hover {color:var(--ctr-green);}
.ctr-stage-shell {max-width:1080px;margin:0 auto;padding:36px 22px 65px;min-height:55vh;}
.ctr-stage-page-heading {margin:0 0 24px;}
.ctr-stage-eyebrow {margin:0 0 9px!important;letter-spacing:.15em!important;color:var(--ctr-green)!important;font-size:11px!important;font-weight:800!important;}
.ctr-stage-page-heading h1,.ctr-stage-quote-body h1 {margin:0 0 10px!important;font-size:clamp(29px,3.3vw,44px)!important;font-weight:750!important;line-height:1.15!important;color:var(--ctr-ink)!important;letter-spacing:-.025em!important;}
.ctr-stage-page-heading p {margin:0;color:#4c6470;max-width:750px;}
.ctr-stage-paper {background:#fff;border:1px solid var(--ctr-border);box-shadow:0 12px 40px rgba(29,49,63,.04);border-radius:10px;padding:clamp(20px,4vw,42px);overflow:visible;min-height:200px;}
.ctr-stage-paper .woocommerce {max-width:100%;}
.ctr-stage-paper .woocommerce-notice--success,.ctr-stage-paper .woocommerce-thankyou-order-received {border-radius:7px;border:1px solid #b9dfcb;background:#effaf3;color:#176c42;font-weight:750;padding:18px 20px;display:block;margin:0 0 22px;}
.ctr-stage-paper .woocommerce .woocommerce-info {border-top-color:var(--ctr-green);border-radius:6px;background:#edf6f2;color:var(--ctr-ink);}
.ctr-stage-paper :is(.woocommerce-error,.woocommerce-message) {border-radius:6px;}
.ctr-stage-paper .woocommerce-message {border-top-color:var(--ctr-green);}
.ctr-stage-paper .woocommerce table.shop_table {border:1px solid var(--ctr-border);border-collapse:separate;border-radius:7px;width:100%;}
.ctr-stage-paper .woocommerce table.shop_table th {background:#f7faf9;color:var(--ctr-ink);}
.ctr-stage-paper .woocommerce table.shop_table td {color:var(--ctr-ink);}
.ctr-stage-paper .woocommerce table.shop_table th,.ctr-stage-paper .woocommerce table.shop_table td {padding:14px;}
.ctr-stage-paper .woocommerce :is(a.button,button.button,input.button,#place_order),
.ctr-stage-paper .woocommerce #payment #place_order,
.ctr-stage-paper .woocommerce .woocommerce-verify-email button,
.ctr-stage-quote-body .ctr-stage-primary {
  border:0!important;border-radius:6px!important;background:var(--ctr-green)!important;color:white!important;padding:14px 22px!important;height:auto!important;min-height:44px!important;font-size:14px!important;font-weight:750!important;text-decoration:none!important;cursor:pointer!important;box-shadow:none!important;line-height:1.3!important;
}
.ctr-stage-paper .woocommerce :is(a.button,button.button,input.button,#place_order):hover,
.ctr-stage-quote-body .ctr-stage-primary:hover {background:#12663e!important;}
.ctr-stage-paper .woocommerce :is(input.input-text,textarea,select) {min-height:42px;padding:10px 12px;border:1px solid #bfced1;border-radius:5px;background:#fff;color:var(--ctr-ink);}
.ctr-stage-paper .woocommerce form .form-row label {font-size:14px;font-weight:650;color:var(--ctr-ink);}
.ctr-stage-paper .woocommerce #payment {background:#f1f6f5!important;border-radius:8px;}
.ctr-stage-paper .woocommerce #payment div.payment_box {background:#e5efee;}
.ctr-stage-paper .woocommerce #payment div.payment_box::before {border-bottom-color:#e5efee;}
.ctr-stage-paper .woocommerce-order ul.order_details {display:flex;gap:12px;flex-wrap:wrap;list-style:none;padding:0;margin:20px 0 34px;}
.ctr-stage-paper .woocommerce-order ul.order_details li {float:none;margin:0!important;flex:1 1 175px;padding:18px!important;background:#f7faf9;border:1px solid var(--ctr-border)!important;border-radius:7px;color:#536976;line-height:1.5;overflow-wrap:anywhere;}
.ctr-stage-paper .woocommerce-order ul.order_details li strong {font-size:17px;color:var(--ctr-ink);margin-top:5px;display:block;}
.ctr-stage-paper .woocommerce-customer-details address {padding:18px;border:1px solid var(--ctr-border);border-radius:7px;}
.ctr-verify-email {max-width:720px;}
.ctr-verify-email h2 {font-size:24px!important;font-weight:750!important;margin:0 0 10px;color:var(--ctr-ink)!important;}
.ctr-verify-email > p {color:#526774;max-width:640px;}
.ctr-verify-email .woocommerce-verify-email {margin:18px 0 12px;}
.ctr-verify-email .form-row {float:none!important;width:100%!important;}
.ctr-verify-email input[type=email] {max-width:600px;display:block;width:100%;}
.ctr-stage-small {font-size:13px!important;color:#5b7179!important;line-height:1.6!important;}
.ctr-stage-help {margin:23px 0 0;display:flex;align-items:center;gap:16px;background:#eaf2ef;padding:18px 21px;border-radius:7px;flex-wrap:wrap;font-size:14px;}
.ctr-stage-help strong {font-weight:750;color:var(--ctr-ink);}
.ctr-stage-help span {flex:1;min-width:190px;color:#536872;}
.ctr-stage-help a {display:inline-block;background:#1c3444;color:#fff!important;border-radius:5px;padding:10px 16px;text-decoration:none;font-weight:700;}
.ctr-stage-footer {padding:24px 22px;max-width:1080px;margin:0 auto;display:flex;flex-wrap:wrap;justify-content:space-between;gap:10px;border-top:1px solid var(--ctr-border);font-size:12px;color:#52636a;}
.ctr-stage-quote-body {max-width:900px;margin:auto;}
.ctr-stage-quote-body p {color:#445b65;}
.ctr-stage-quote-table {border-collapse:collapse;width:100%;margin:22px 0;}
.ctr-stage-quote-table th,.ctr-stage-quote-table td {border-bottom:1px solid var(--ctr-border);padding:14px;text-align:left;vertical-align:middle;}
.ctr-stage-quote-table td:nth-child(n+2),.ctr-stage-quote-table th:nth-child(n+2) {text-align:right;}
.ctr-stage-quote-total {text-align:right;font-size:17px;}
.ctr-stage-quote-form {margin-top:28px;padding:22px;border-radius:8px;background:#f0f7f4;}
.ctr-stage-quote-form > label:not(.ctr-stage-checkline) {display:block;margin:0 0 18px;font-size:14px;font-weight:700;color:var(--ctr-ink);}
.ctr-stage-quote-form label small {display:block;font-size:12px;font-weight:400;color:#506a74;margin:4px 0;}
.ctr-stage-quote-form input[type=email],.ctr-stage-quote-form input[type=text] {display:block;margin-top:8px;width:100%;max-width:500px;border:1px solid #c4d3d5;background:white;border-radius:5px;padding:11px 12px;min-height:42px;}
.ctr-stage-checkline {display:flex;gap:9px;align-items:flex-start;font-size:14px;margin:12px 0 22px;}
.ctr-stage-checkline input {margin-top:4px;flex:0 0 auto;}
@media (max-width:700px) {
 .ctr-stage-head-inner {padding:13px 16px;min-height:74px;gap:9px;}
 .ctr-stage-brand img {width:134px;}
 .ctr-stage-header nav {gap:10px;}
 .ctr-stage-header nav a {font-size:12px;}
 .ctr-stage-shell {padding:24px 12px 40px;}
 .ctr-stage-paper {padding:19px 14px;}
 .ctr-stage-page-heading h1 {font-size:30px!important;}
 .ctr-stage-paper .woocommerce table.shop_table {display:block;overflow-x:auto;}
 .ctr-stage-paper .woocommerce-order ul.order_details {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));}
 .ctr-stage-paper .woocommerce-order ul.order_details li {padding:12px!important;min-width:0;}
 .ctr-stage-quote-table th,.ctr-stage-quote-table td {padding:8px;font-size:13px;}
 .ctr-stage-help {display:block;}
 .ctr-stage-help span {display:block;margin:8px 0 14px;}
 .ctr-stage-help a {display:inline-block;}
}

/* r28: one customer cart, two equally discoverable ways to proceed. */
body.ctr-stage-payment-document .woocommerce-cart-form,
body.ctr-stage-payment-document .cart-collaterals,
body.ctr-stage-payment-document .ctr-stage-quote-panel {width:100%;max-width:100%;}
body.ctr-stage-payment-document .cart-collaterals::after {content:"";display:table;clear:both;}
body.ctr-stage-payment-document .cart-collaterals .cart_totals {width:min(100%,550px);float:right;}
body.ctr-stage-payment-document .cart_totals h2 {font-size:23px;margin:0 0 14px;color:#142d3e;}
body.ctr-stage-payment-document .wc-proceed-to-checkout {display:flex;flex-wrap:wrap;align-items:stretch;gap:11px;}
body.ctr-stage-payment-document .wc-proceed-to-checkout::before,body.ctr-stage-payment-document .wc-proceed-to-checkout::after {display:none;}
body.ctr-stage-payment-document .wc-proceed-to-checkout a.checkout-button,
body.ctr-stage-payment-document .wc-proceed-to-checkout a.ctr-stage-quote-button {
  display:flex!important;align-items:center;justify-content:center;flex:1 1 195px;min-height:50px;
  margin:0!important;padding:13px 16px!important;float:none!important;
  border-radius:7px!important;text-decoration:none!important;font-size:15px!important;
  font-weight:750!important;line-height:1.2!important;box-shadow:none!important;
}
body.ctr-stage-payment-document .wc-proceed-to-checkout a.checkout-button {background:#167849!important;color:white!important;}
body.ctr-stage-payment-document .wc-proceed-to-checkout a.ctr-stage-quote-button {background:#fff!important;color:#146c43!important;border:2px solid #16804c!important;}
body.ctr-stage-payment-document .wc-proceed-to-checkout a.ctr-stage-quote-button:hover {background:#eef8f2!important;}
body.ctr-stage-payment-document .wc-proceed-to-checkout #wc-stripe-express-checkout-element {flex:0 0 100%;}
.ctr-stage-purchase-note {flex:0 0 100%;margin:0!important;font-size:13px;color:#526974;line-height:1.45;}
.ctr-stage-quote-panel {clear:both;margin:35px 0 0;padding:clamp(20px,3vw,32px);background:#f6faf8;border:1px solid #c8ddd1;border-radius:9px;scroll-margin-top:35px;}
.ctr-stage-quote-panel:target {outline:3px solid #b2d9c3;outline-offset:3px;}
.ctr-stage-quote-panel-heading {display:flex;justify-content:space-between;align-items:start;gap:20px;margin-bottom:20px;}
.ctr-stage-quote-panel h2 {font-size:clamp(24px,2.8vw,32px)!important;line-height:1.2!important;color:#163246!important;margin:0 0 8px!important;}
.ctr-stage-quote-panel-heading p:not(.ctr-stage-eyebrow) {margin:0;color:#4e6872;max-width:690px;line-height:1.55;}
.ctr-stage-quote-panel-count {display:inline-block;background:#e0eee5;border:1px solid #bfdcc8;padding:8px 13px;border-radius:24px;font-size:12px;font-weight:750;color:#176d41;white-space:nowrap;}
.ctr-stage-quote-fields {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:17px 22px;}
.ctr-stage-quote-fields label {display:flex;flex-direction:column;gap:6px;font-size:14px;font-weight:700;color:#183647;}
.ctr-stage-quote-fields input,.ctr-stage-quote-fields textarea {width:100%;min-height:45px;background:#fff!important;border:1px solid #b8c9ce!important;border-radius:6px!important;padding:11px 13px!important;font-size:15px;line-height:1.35;color:#17313f;box-shadow:none!important;}
.ctr-stage-quote-fields textarea {min-height:105px;resize:vertical;}
.ctr-stage-quote-fields .ctr-stage-quote-notes {grid-column:1/-1;}
.ctr-stage-quote-honey {position:absolute;left:-10000px;top:auto;width:1px;height:1px;overflow:hidden;}
.ctr-stage-quote-submit {display:flex;align-items:center;gap:20px;flex-wrap:wrap;margin-top:20px;}
.ctr-stage-quote-submit button.ctr-stage-quote-submit-button {border:0!important;border-radius:7px!important;background:#16804c!important;color:#fff!important;font-size:15px!important;font-weight:800!important;padding:15px 25px!important;min-height:50px!important;cursor:pointer;}
.ctr-stage-quote-submit button:hover {background:#12633c!important;}
.ctr-stage-quote-submit p {margin:0!important;flex:1;min-width:210px;font-size:13px;color:#506872;}
.ctr-stage-quote-receipt .ctr-stage-confirm-icon {width:46px;height:46px;display:grid;place-items:center;border-radius:50%;background:#e1f2e7;color:#146c43;font-weight:850;font-size:26px;margin-bottom:15px;}
.ctr-stage-quote-receipt h2 {margin:0 0 12px;color:#142d3e;font-size:clamp(24px,3vw,31px);}
.ctr-stage-quote-receipt h3 {margin:24px 0 10px;color:#142d3e;font-size:20px;}
.ctr-stage-receipt-table-wrap {overflow-x:auto;}
.ctr-stage-next-steps {background:#f4f8f6;border:1px solid #d8e6e0;border-radius:7px;padding:19px 25px;margin:24px 0;}
.ctr-stage-next-steps ol {padding-left:23px;margin:12px 0;}
.ctr-stage-next-steps li {margin:9px 0;color:#334b58;}
.ctr-stage-next-steps p {font-size:13px;color:#526a74;}
.ctr-stage-confirm-actions {display:flex;gap:12px;flex-wrap:wrap;}
.ctr-stage-confirm-actions a {display:inline-flex;padding:12px 18px;border:1px solid #16804c;border-radius:6px;text-decoration:none;font-weight:750;color:#176d48;}
.ctr-stage-confirm-actions a:first-child {background:#16804c;color:#fff;}
.ctr-stage-paper .woocommerce-notices-wrapper:empty,.ctr-stage-paper .woocommerce-message:empty,.ctr-stage-paper .woocommerce-info:empty {display:none!important;}
@media(max-width:700px) {
 .ctr-stage-quote-fields {grid-template-columns:minmax(0,1fr);gap:13px;}
 .ctr-stage-quote-panel-heading {display:block;}
 .ctr-stage-quote-panel-count {margin-top:12px;}
 body.ctr-stage-payment-document .cart-collaterals .cart_totals {width:100%;float:none;}
 body.ctr-stage-payment-document .wc-proceed-to-checkout {gap:10px;}
 .ctr-stage-quote-panel {padding:18px 14px;}
 .ctr-stage-quote-submit button {width:100%;}
}
