/* Scoped to the server's request-only checkout. Does not alter product/cart mechanics. */
body.sd-request-checkout #main #page-default {padding-top:40px!important;}
body.sd-request-checkout #main #page-default .post-content {max-width:1180px;margin-inline:auto;}
body.sd-request-checkout form.checkout {display:grid!important;grid-template-columns:minmax(0,1fr) minmax(360px,1fr);grid-template-areas:'contact title' 'contact summary';gap:12px 32px;align-items:start;}
body.sd-request-checkout form.checkout::before,body.sd-request-checkout form.checkout::after {display:none!important;}
body.sd-request-checkout form.checkout #customer_details {grid-area:contact;float:none!important;width:100%!important;padding:28px;background:#fff;border:1px solid #e2e3e8;border-radius:20px;box-sizing:border-box;}
body.sd-request-checkout #customer_details > .col-1,body.sd-request-checkout #customer_details > .col-2 {float:none!important;width:100%!important;max-width:none!important;padding:0!important;}
body.sd-request-checkout #order_review_heading {grid-area:title;float:none!important;margin:0!important;padding:0!important;font-size:24px!important;line-height:1.3!important;}
body.sd-request-checkout #order_review {grid-area:summary;float:none!important;width:100%!important;padding:24px!important;margin:0!important;background:#fff;border:1px solid #e2e3e8;border-radius:20px;box-sizing:border-box;}
body.sd-request-checkout .woocommerce-billing-fields > h2 {margin:0 0 12px!important;font-size:24px!important;line-height:1.3!important;}
body.sd-request-checkout .sd-request-intro {margin:0 0 24px!important;color:#68707d;font-size:15px!important;line-height:1.6!important;}
body.sd-request-checkout .woocommerce-billing-fields__field-wrapper {display:grid;grid-template-columns:minmax(0,1fr);gap:18px;}
body.sd-request-checkout form.checkout .form-row {float:none!important;clear:both!important;width:100%!important;max-width:none!important;padding:0!important;margin:0!important;}
body.sd-request-checkout form.checkout .form-row label {display:block;font-size:14px!important;line-height:1.5!important;color:#3b414b;margin:0 0 8px!important;}
body.sd-request-checkout form.checkout input.input-text {height:52px!important;width:100%!important;box-sizing:border-box;border:1px solid #cfd3dc;border-radius:12px;background:#fff;font-size:17px!important;padding:12px 14px!important;box-shadow:none;}
body.sd-request-checkout form.checkout input.input-text:focus {outline:3px solid #b8d9ff;outline-offset:1px;border-color:#0071e3;}
body.sd-request-checkout form.checkout .form-row .description {margin:6px 0 0;color:#68707d;font-size:12px;line-height:1.5;}
body.sd-request-checkout #order_review table.shop_table {border:0!important;margin:0 0 20px!important;background:transparent;}
body.sd-request-checkout #order_review table.shop_table th,body.sd-request-checkout #order_review table.shop_table td {padding:12px 0!important;border-width:0 0 1px!important;border-color:#ebedf1!important;vertical-align:top;font-size:14px!important;line-height:1.5!important;}
body.sd-request-checkout #order_review .product-total {white-space:nowrap;text-align:right;padding-left:16px!important;}
body.sd-request-checkout #order_review .product-name {overflow-wrap:anywhere;padding-right:16px!important;}
body.sd-request-checkout #order_review dl.variation {font-size:12px!important;line-height:1.5!important;}
body.sd-request-checkout #order_review dl.variation dt,body.sd-request-checkout #order_review dl.variation dd,body.sd-request-checkout #order_review dl.variation p {font-size:12px!important;line-height:1.5!important;margin:0 0 4px!important;padding:0!important;}
body.sd-request-checkout #payment {border:0!important;padding:0!important;margin:20px 0 0!important;background:transparent!important;}
body.sd-request-checkout #payment ul.payment_methods {padding:0!important;margin:0 0 16px!important;border:0!important;}
body.sd-request-checkout #payment .payment_box {background:#f5f7fa!important;border-radius:12px;padding:14px!important;font-size:13px!important;line-height:1.5!important;}
body.sd-request-checkout #payment .payment_box::before {display:none!important;}
body.sd-request-checkout #payment .woocommerce-privacy-policy-text p {font-size:12px!important;line-height:1.6!important;color:#707782;margin:0 0 18px!important;}
body.sd-request-checkout #place_order {display:block!important;float:none!important;width:100%!important;min-height:52px;border-radius:14px!important;font-size:17px!important;font-weight:500;line-height:1.3;padding:15px 20px!important;}
.sd-request-quote {margin:18px 0;padding:20px;border-radius:16px;background:#f0f6ff;color:#202937;}
.sd-request-quote h3 {font-size:17px!important;line-height:1.4!important;margin:0 0 14px!important;}
.sd-request-breakdown {margin:0!important;padding:0!important;}
.sd-request-breakdown > div {display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;margin:0 0 10px;}
.sd-request-breakdown dt,.sd-request-breakdown dd {float:none!important;clear:none!important;margin:0!important;padding:0!important;font-size:14px!important;line-height:1.5!important;}
.sd-request-breakdown dt {color:#68707d;}
.sd-request-breakdown dd {text-align:right;font-weight:500;white-space:nowrap;}
.sd-request-breakdown .sd-request-total {padding-top:12px;margin-top:12px;border-top:1px solid #ccd9eb;}
.sd-request-breakdown .sd-request-total dt,.sd-request-breakdown .sd-request-total dd {color:#202937;font-weight:600;font-size:18px!important;}
.sd-request-monthly {margin:18px 0 0!important;color:#1f354f;font-size:28px!important;font-weight:600;line-height:1.25!important;}
.sd-request-monthly small {font-size:15px!important;font-weight:400;}
.sd-request-period {margin:6px 0 0!important;color:#526a86;font-size:13px!important;line-height:1.5!important;}
.sd-request-quote-note {font-size:12px!important;line-height:1.55!important;color:#66768b;margin:14px 0 0!important;}
@media(max-width:800px){
 body.sd-request-checkout form.checkout {grid-template-columns:minmax(0,1fr);grid-template-areas:'contact' 'title' 'summary';gap:20px;}
 body.sd-request-checkout #order_review_heading {margin:6px 0 -8px!important;}
 body.sd-request-checkout form.checkout #customer_details,body.sd-request-checkout #order_review {padding:20px!important;border-radius:16px;}
 body.sd-request-checkout .sd-request-intro {font-size:14px!important;}
 .sd-request-quote {padding:16px;}
 .sd-request-breakdown > div {gap:10px;}
 .sd-request-breakdown dt,.sd-request-breakdown dd {font-size:13px!important;}
 .sd-request-breakdown .sd-request-total {grid-template-columns:1fr;gap:4px;}
 .sd-request-breakdown .sd-request-total dd {text-align:left;}
}
body.sd-request-checkout #main #page-default h1 {font-size:clamp(30px,3.5vw,46px)!important;line-height:1.15!important;letter-spacing:-.03em;}
body.sd-request-checkout #place_order {background:#0071e3!important;color:#fff!important;}
body.sd-request-checkout form.checkout input.input-text {background:#fff!important;}
@media(max-width:800px){body.sd-request-checkout #main #page-default {padding-top:24px!important;}}
body.sd-request-checkout form.checkout > .sd-request-note{grid-column:1/-1;grid-row:3;margin:0;color:#667085;font-size:13px;line-height:1.6}
body.sd-request-checkout #customer_details .col-2{display:none}
body.sd-request-checkout .woocommerce-billing-fields>h3{font-size:24px;margin:0 0 24px}
.sd-request-note{font-size:13px;line-height:1.6;color:#68707d}
tr.sd-request-monthly th,tr.sd-request-monthly td{color:#0071e3!important;font-size:18px!important;font-weight:600!important}
tr.sd-request-deduction td{color:#178148}
@media(max-width:800px){body.sd-request-checkout form.checkout>.sd-request-note{grid-row:4}}
/* The checkout's earlier table-cell selector has higher specificity than tr.sd-request-monthly. */
body.sd-request-checkout #order_review table.shop_table tr.sd-request-monthly th,
body.sd-request-checkout #order_review table.shop_table tr.sd-request-monthly td {color:#0071e3!important;font-size:18px!important;font-weight:600!important;}

/* Native theme's flex dl squeezes every metadata term into a separate sliver. */
body.sd-request-checkout #order_review dl.variation {
 display:block!important;float:none!important;width:100%!important;max-width:100%!important;min-width:0!important;
}
body.sd-request-checkout #order_review dl.variation dt,
body.sd-request-checkout #order_review dl.variation dd {
 display:block!important;float:none!important;clear:both!important;width:auto!important;max-width:100%!important;min-width:0!important;
 flex:none!important;white-space:normal!important;word-break:normal!important;overflow-wrap:anywhere!important;letter-spacing:normal!important;
}
body.sd-request-checkout #order_review dl.variation dt {margin-top:8px!important;color:#737a85;font-weight:400!important;}
body.sd-request-checkout #order_review dl.variation dd {color:#434b56;}
body.sd-request-checkout #order_review table.woocommerce-checkout-review-order-table {table-layout:fixed!important;width:100%!important;}
body.sd-request-checkout #order_review table.woocommerce-checkout-review-order-table th,
body.sd-request-checkout #order_review table.woocommerce-checkout-review-order-table td {overflow-wrap:anywhere!important;white-space:normal!important;}
body.sd-request-checkout #order_review table.woocommerce-checkout-review-order-table th.product-name {width:64%;}
body.sd-request-checkout #order_review table.woocommerce-checkout-review-order-table th.product-total {width:36%;}
@media(max-width:800px){
 body.sd-request-checkout #order_review table.woocommerce-checkout-review-order-table thead th {font-size:10px!important;letter-spacing:.04em!important;}
 body.sd-request-checkout #order_review table.woocommerce-checkout-review-order-table tbody .product-name {padding-right:10px!important;}
 body.sd-request-checkout #order_review table.woocommerce-checkout-review-order-table tbody .product-total {padding-left:6px!important;}
}

/* Append to request.css. All received-page styles require a verified request order. */
body.sd-request-checkout .sd-request-item-terms {margin:12px 0 0;border:0;padding:0;}
body.sd-request-checkout .sd-request-item-terms>summary {font-size:12px;line-height:1.5;color:#0066cc;cursor:pointer;}
body.sd-request-checkout #order_review .sd-request-item-terms dl.variation dt {display:none!important;}
body.sd-request-received #main #page-default {padding-top:40px!important;}
body.sd-request-received #main #page-default .post-content {max-width:1120px;margin-inline:auto;}
body.sd-request-received #page-default h1 {font-size:clamp(30px,3.5vw,46px)!important;line-height:1.15!important;letter-spacing:-.03em;}
body.sd-request-received .woocommerce-order>p.woocommerce-thankyou-order-received {max-width:680px;margin:0 0 28px;font-size:17px;line-height:1.6;color:#535b68;}
body.sd-request-received ul.woocommerce-order-overview {display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin:0 0 28px!important;padding:20px!important;list-style:none!important;border:1px solid #e2e3e8;border-radius:16px;background:#fff;}
body.sd-request-received ul.woocommerce-order-overview::before,body.sd-request-received ul.woocommerce-order-overview::after {display:none!important;}
body.sd-request-received ul.woocommerce-order-overview>li {float:none!important;clear:none!important;margin:0!important;padding:0!important;border:0!important;min-width:0;color:#707782;font-size:12px!important;line-height:1.6;letter-spacing:0!important;text-transform:none!important;overflow-wrap:anywhere;}
body.sd-request-received ul.woocommerce-order-overview>li strong {display:block;margin-top:4px;color:#202937;font-size:16px;line-height:1.4;}
body.sd-request-received .woocommerce-order-details,body.sd-request-received .woocommerce-customer-details {padding:24px;border:1px solid #e2e3e8;border-radius:20px;background:#fff;margin:0 0 24px;}
body.sd-request-received .woocommerce-order-details__title,body.sd-request-received .woocommerce-customer-details h2 {font-size:24px!important;line-height:1.3!important;margin:0 0 20px!important;}
body.sd-request-received table.woocommerce-table--order-details {width:100%!important;table-layout:fixed;border:0!important;margin:0!important;}
body.sd-request-received table.woocommerce-table--order-details th,body.sd-request-received table.woocommerce-table--order-details td {padding:14px 0!important;font-size:14px!important;line-height:1.5!important;border-width:0 0 1px!important;border-color:#ebedf1!important;vertical-align:top;overflow-wrap:anywhere;}
body.sd-request-received table.woocommerce-table--order-details th.product-name {width:64%;}
body.sd-request-received table.woocommerce-table--order-details th.product-total {width:36%;}
body.sd-request-received table.woocommerce-table--order-details .product-total {text-align:right;padding-left:16px!important;}
body.sd-request-received table.woocommerce-table--order-details tfoot td {text-align:right;padding-left:16px!important;}
body.sd-request-received .wc-item-meta {list-style:none!important;margin:14px 0 0!important;padding:0!important;}
body.sd-request-received .wc-item-meta>li {display:block!important;margin:0 0 10px!important;padding:0!important;}
body.sd-request-received .wc-item-meta>li strong,body.sd-request-received .wc-item-meta>li p {float:none!important;display:block!important;margin:0!important;font-size:12px!important;line-height:1.5!important;overflow-wrap:anywhere;}
body.sd-request-received .wc-item-meta>li strong {font-weight:400;color:#737a85;}
body.sd-request-received .woocommerce-customer-details address {border:0!important;border-radius:0!important;padding:0!important;font-style:normal;font-size:15px;line-height:1.7;}
@media(max-width:800px){
 body.sd-request-received #main #page-default {padding-top:24px!important;}
 body.sd-request-received ul.woocommerce-order-overview {grid-template-columns:repeat(2,minmax(0,1fr));padding:16px!important;}
 body.sd-request-received .woocommerce-order-details,body.sd-request-received .woocommerce-customer-details {padding:16px;border-radius:16px;}
 body.sd-request-received table.woocommerce-table--order-details thead th {font-size:10px!important;letter-spacing:.04em!important;}
 body.sd-request-received table.woocommerce-table--order-details .product-total,body.sd-request-received table.woocommerce-table--order-details tfoot td {padding-left:8px!important;}
}

body.sd-request-received .woocommerce-order > p[data-sd-duplicate-manager-note="true"] {display:none!important;}

/* Legacy theme keeps the long product-total heading on one line. */
body.sd-request-received table.woocommerce-table--order-details thead th {white-space:normal!important;overflow-wrap:anywhere!important;}

@media(max-width:800px){
 body.sd-request-received table.woocommerce-table--order-details tfoot td {font-size:12px!important;line-height:1.5!important;}
}

/* A single vertical purchase request on every screen, per owner direction. */
body.sd-request-checkout #main #page-default .post-content,
body.sd-request-checkout #main #page-default h1,
body.sd-request-received #main #page-default .post-content,
body.sd-request-received #main #page-default h1 {max-width:760px!important;margin-inline:auto!important;box-sizing:border-box;}
body.sd-request-checkout form.checkout {display:flex!important;flex-direction:column!important;gap:0!important;}
body.sd-request-checkout form.checkout #customer_details {order:0;margin:0 0 28px!important;}
body.sd-request-checkout #order_review_heading {order:1;margin:0 0 16px!important;width:100%!important;float:none!important;text-align:left!important;align-self:stretch!important;}
body.sd-request-checkout form.checkout #order_review {order:2;}
body.sd-request-checkout form.checkout>.sd-request-note {order:3;margin:20px 0 0!important;}

/* Keep the main summary short. Native details remain accessible by keyboard. */
.sd-item-disclosure{margin:10px 0 0!important;padding:0!important;border:0!important;max-width:100%;}
.sd-item-disclosure>summary{display:list-item!important;color:#0071e3!important;font-size:14px!important;line-height:1.5!important;cursor:pointer;padding:6px 0;list-style:disclosure-closed!important;}
.sd-item-disclosure[open]>summary{list-style:disclosure-open!important;}
.sd-item-disclosure>summary:focus-visible{outline:2px solid #0071e3;outline-offset:3px;border-radius:3px;}
.sd-item-disclosure:not([open])>*:not(summary){display:none!important;}
.sd-item-disclosure dl,.sd-item-disclosure ul{display:block!important;margin:8px 0 14px!important;}
.sd-item-disclosure dt,.sd-item-disclosure dd{float:none!important;display:block!important;width:auto!important;margin:0 0 5px!important;font-size:13px!important;line-height:1.5!important;}
.sd-item-disclosure dt{font-weight:400!important;color:#737a85;margin-top:10px!important;}
.sd-receiving{min-width:0;border:0!important;margin:0 0 26px!important;padding:0!important;}
.sd-receiving legend{font-size:20px!important;line-height:1.35;font-weight:600;padding:0;margin:0 0 14px;}
.sd-receiving label{display:flex!important;align-items:flex-start;gap:12px;border:1px solid #d2d5dc;border-radius:12px;padding:14px!important;margin:10px 0!important;background:#fff;cursor:pointer;font-size:14px!important;line-height:1.5!important;}
.sd-receiving label:has(input:checked){border-color:#0071e3;background:#eef6ff;}
.sd-receiving input{accent-color:#0071e3;flex:none;width:18px!important;height:18px!important;margin:2px 0!important;}
.sd-receiving span{min-width:0;overflow-wrap:anywhere;}
.sd-receiving [role=status],[data-cart-status]{font-size:13px!important;line-height:1.5;color:#5e6876;margin:10px 0!important;}
.sd-receiving [hidden]{display:none!important;}
body.sd-request-checkout .sd-receiving{margin:24px 0 0!important;}
.woocommerce-cart-form.sd-auto-cart:not(.sd-cart-update-error) [name=update_cart]{display:none!important;}
.woocommerce-cart-form [name=update_cart]:disabled{display:none!important;}
body.woocommerce-cart .cart-collaterals .cart_totals{width:100%!important;}
