/* DCX order flow. Scoped to the owned order form; native validation and totals remain authoritative. */
body:has(.dcx-order) section#main-body { background: #fff; }
body #order-standard_cart.dcx-order { --order-ink:#0f172b; --order-muted:#526174; --order-line:#dce2e9; --order-accent:#b10d28; color:var(--order-ink); max-width:1200px; margin:0 auto; padding:24px 0 48px; }
body #order-standard_cart.dcx-order > .row { margin:0; }
body #order-standard_cart.dcx-order > .row > .cart-body { width:100%; float:none; max-width:none; padding:0; margin:0; }
.dcx-order-progress { margin:0 0 32px; border-bottom:1px solid #dce2e9; padding-bottom:20px; }
.dcx-order-progress ol { list-style:none; display:flex; align-items:center; gap:32px; margin:0; padding:0; }
.dcx-order-progress li { display:flex; gap:10px; align-items:center; color:#526174; font-size:14px; line-height:22px; }
.dcx-order-progress li[aria-current] { color:#0f172b; font-weight:700; }
.dcx-step-number { display:inline-flex; flex-shrink:0; align-items:center; justify-content:center; width:28px; height:28px; border:1px solid #cbd5e1; border-radius:50%; font-size:13px; }
[aria-current] > .dcx-step-number { color:#fff; background:#0f172b; border-color:#0f172b; }
.dcx-order-progress a { color:inherit; text-decoration:underline; text-underline-offset:3px; }
body #order-standard_cart.dcx-order .header-lined { border:0; margin:0 0 24px; padding:0; }
body #order-standard_cart.dcx-order .header-lined h1 { font-size:32px; line-height:1.25; letter-spacing:-.6px; margin:0; padding:0; border:0; font-weight:750; }
body #order-standard_cart.dcx-order .dcx-order-intro { color:var(--order-muted); font-size:15px; line-height:1.6; margin:0 0 24px; }
body #order-standard_cart.dcx-order .sub-heading { border:0; text-align:left; margin:28px 0 16px; height:auto; }
body #order-standard_cart.dcx-order .sub-heading > span { position:static; display:block; padding:0; background:transparent!important; font-size:19px; font-weight:700; color:var(--order-ink); line-height:1.4; }
body #order-standard_cart.dcx-order .field-container { margin:0; }
body #order-standard_cart.dcx-order .form-group { margin-bottom:20px; }
body #order-standard_cart.dcx-order label:not(.radio-inline):not(.checkbox-inline):not(.field-icon) { font-size:14px; line-height:22px; }
body #order-standard_cart.dcx-order .form-control { border:1px solid #bcc6d3; border-radius:6px; color:var(--order-ink); background-color:#fff; min-height:44px; font-size:16px; box-shadow:none; }
body #order-standard_cart.dcx-order .form-control:focus { border-color:var(--order-accent); outline:2px solid #b10d2833; outline-offset:1px; box-shadow:none; }
body #order-standard_cart.dcx-order .btn { min-height:44px; border-radius:6px; font-size:15px; line-height:22px; padding:10px 18px; box-shadow:none; transform:none; }
body #order-standard_cart.dcx-order .btn-primary { background:var(--order-accent); border-color:var(--order-accent); color:#fff; }
body #order-standard_cart.dcx-order .btn-primary:hover { background:#920b22; border-color:#920b22; }
body #order-standard_cart.dcx-order :is(button,a,input,select,summary):focus-visible { outline:2px solid #0f172b; outline-offset:3px; }
body #order-standard_cart.dcx-configure #frmConfigureProduct > .row { display:grid; grid-template-columns:minmax(0,1fr) 340px; gap:48px; margin:0; align-items:start; }
body #order-standard_cart.dcx-configure .secondary-cart-body, body #order-standard_cart.dcx-configure .secondary-cart-sidebar { width:auto; float:none; padding:0; min-width:0; }
body #order-standard_cart.dcx-configure .product-info { margin:0 0 28px; padding:0 0 24px; border:0; border-bottom:1px solid var(--order-line); background:transparent; }
body #order-standard_cart.dcx-configure .product-info .product-title { font-size:23px; font-weight:700; margin:0 0 12px; }
body #order-standard_cart.dcx-configure .product-info p { line-height:1.7; margin:0; color:var(--order-muted); }
body #order-standard_cart.dcx-configure .product-info p:empty { display:none; }
body #order-standard_cart.dcx-configure #inputBillingcycle { display:block; width:100%; max-width:100%; height:50px; }
body #order-standard_cart.dcx-configure .panel-addon { border:1px solid var(--order-line); border-radius:8px; box-shadow:none; overflow:hidden; }
body #order-standard_cart.dcx-configure .panel-addon-selected { border-color:var(--order-accent); }
body #order-standard_cart.dcx-configure .panel-addon .panel-price { background:#f8fafc; color:var(--order-ink); padding:12px; }
body #order-standard_cart.dcx-configure .panel-addon .panel-add { background:#fff; color:var(--order-accent); border-top:1px solid var(--order-line); }
body #order-standard_cart.dcx-configure .info-text-sm { background:transparent; color:var(--order-muted); border:0; padding:16px 0; font-size:13px; }
/* Domain choices retain native result, transfer, captcha and availability handlers. */
body #order-standard_cart.dcx-domain .cart-body { max-width:880px!important; }
body #order-standard_cart.dcx-domain .domain-selection-options .option { border:1px solid var(--order-line); border-radius:8px; background:#fff; margin:0 0 12px; padding:0; overflow:visible; }
body #order-standard_cart.dcx-domain .domain-selection-options .option > label { display:flex; align-items:center; gap:12px; padding:20px; margin:0; font-size:16px; color:var(--order-ink); cursor:pointer; }
body #order-standard_cart.dcx-domain .domain-selection-options .option:has(input[name=domainoption]:checked) { border-color:var(--order-accent); }
body #order-standard_cart.dcx-domain .domain-input-group { padding:0 20px 20px; margin:0; background:transparent; }
body #order-standard_cart.dcx-domain .domain-input-group > .row { margin:0; gap:12px; flex-wrap:nowrap; }
body #order-standard_cart.dcx-domain .domain-input-group > .row > [class*=col-] { padding:0; margin:0; flex:1; max-width:none; }
body #order-standard_cart.dcx-domain .domain-input-group > .row > .col-sm-2 { flex:0 0 116px; }
body #order-standard_cart.dcx-domain .domain-input-group .domains-row { margin:0 -4px; }
body #order-standard_cart.dcx-domain .domain-input-group .domains-row > div { padding:0 4px; }
body #order-standard_cart.dcx-domain .input-group-text { height:44px; background:#f8fafc; border-color:#bcc6d3; color:var(--order-muted); }
body #order-standard_cart.dcx-domain #DomainSearchResults { margin-top:24px; }
/* Checkout is a progressive presentation of the existing native form. */
body #order-standard_cart.dcx-checkout .cart-body { max-width:860px!important; margin:auto!important; }
.dcx-checkout-tabs { display:flex; border-bottom:1px solid #dce2e9; gap:24px; margin-bottom:28px; }
.dcx-checkout-tabs button { border:0; border-bottom:2px solid transparent; border-radius:0; background:transparent; color:#526174; min-height:48px; padding:10px 0; font:inherit; font-size:14px; cursor:pointer; }
.dcx-checkout-tabs button[aria-current=step] { color:#0f172b; font-weight:700; border-bottom-color:#b10d28; }
.dcx-checkout-panel > h2 { font-size:23px; line-height:1.4; margin:0 0 20px; }
.dcx-checkout-panel > h2:focus { outline:none; }
.dcx-checkout-panel > .sub-heading:first-of-type { margin-top:20px; }
.dcx-checkout-nav { display:flex; gap:16px; align-items:center; justify-content:space-between; padding:24px 0 0; margin-top:12px; border-top:1px solid #dce2e9; }
.dcx-checkout-nav .dcx-back { background:#fff; border:1px solid #cbd5e1; color:#0f172b; }
body #order-standard_cart.dcx-checkout #frmCheckout .prepend-icon > .field-icon { display:none; }
body #order-standard_cart.dcx-checkout #frmCheckout .prepend-icon > input.field,
body #order-standard_cart.dcx-checkout #frmCheckout .prepend-icon > select.field { padding-left:12px; }
body #order-standard_cart.dcx-checkout #frmCheckout .form-group .iti input { padding-left:84px; }
body #order-standard_cart.dcx-checkout .already-registered { display:flex; flex-wrap:wrap; justify-content:space-between; gap:16px; align-items:center; padding-bottom:20px; border-bottom:1px solid var(--order-line); }
body #order-standard_cart.dcx-checkout .already-registered > .pull-right { order:2; }
body #order-standard_cart.dcx-checkout #totalDueToday { display:flex; justify-content:space-between; align-items:center; gap:16px; background:#fff; color:var(--order-ink); text-align:left!important; padding:20px 0; border:0; border-top:1px solid var(--order-line); border-bottom:1px solid var(--order-line); border-radius:0; font-size:15px; }
body #order-standard_cart.dcx-checkout #totalCartPrice { font-size:26px; font-weight:750; white-space:nowrap; }
body #order-standard_cart.dcx-checkout .dcx2-payment-options { display:grid; grid-template-columns:1fr 1fr; gap:12px; }
body #order-standard_cart.dcx-checkout .dcx2-payment-options label { margin:0; padding:16px; border:1px solid var(--order-line); border-radius:6px; text-align:left; }
body #order-standard_cart.dcx-checkout .dcx2-payment-options label:has(input:checked) { border-color:var(--order-accent); background:#fff8f9; }
.dcx-order-notes { margin:24px 0; border-top:1px solid #dce2e9; padding-top:20px; }
.dcx-order-notes summary { cursor:pointer; color:#526174; font-size:14px; padding:4px 0; }
.dcx-order-notes textarea { margin-top:16px; }
.dcx-checkout-review { border-bottom:1px solid #dce2e9; margin:0 0 24px; padding-bottom:20px; display:grid; gap:12px; }
.dcx-review-row { display:flex; align-items:flex-start; justify-content:space-between; gap:20px; }
.dcx-review-row p { margin:0; font-size:14px; line-height:1.7; white-space:pre-line; overflow-wrap:anywhere; }
.dcx-review-row button { background:transparent; border:0; padding:4px; text-decoration:underline; text-underline-offset:3px; color:#526174; cursor:pointer; }
body #order-standard_cart.dcx-checkout .dcx2-checkout-actions { text-align:left; margin-top:24px; }
body #order-standard_cart.dcx-checkout .checkout-security-msg { max-width:none; margin-top:28px; background:transparent; border:0; border-top:1px solid var(--order-line); border-radius:0; padding:20px 0 0; color:var(--order-muted); }
body #order-standard_cart.dcx-order [hidden] { display:none!important; }
@media(max-width:959px) {
 body #order-standard_cart.dcx-configure #frmConfigureProduct > .row { grid-template-columns:minmax(0,1fr); gap:24px; }
 body #order-standard_cart.dcx-configure .dcx-mobile-continue { display:block; width:100%; margin-top:24px; }
}
@media(min-width:960px) { .dcx-mobile-continue { display:none; } }
@media(max-width:575px) {
 body #order-standard_cart.dcx-order { padding:20px 0 32px; }
 .dcx-order-progress { margin-bottom:24px; padding-bottom:16px; }
 .dcx-order-progress ol { gap:12px; align-items:flex-start; }
 .dcx-order-progress li { flex:1; flex-direction:column; align-items:flex-start; gap:8px; font-size:12px; line-height:18px; }
 body #order-standard_cart.dcx-order .header-lined h1 { font-size:27px; }
 body #order-standard_cart.dcx-domain .domain-input-group > .row { flex-wrap:wrap; }
 body #order-standard_cart.dcx-domain .domain-input-group > .row > [class*=col-],body #order-standard_cart.dcx-domain .domain-input-group > .row > .col-sm-2 { flex-basis:100%; }
 body #order-standard_cart.dcx-domain .domain-selection-options .option > label { padding:16px; align-items:flex-start; }
 body #order-standard_cart.dcx-domain .domain-input-group { padding:0 16px 16px; }
 .dcx-checkout-tabs { gap:12px; }
 .dcx-checkout-tabs button { flex:1; text-align:left; font-size:12px; line-height:18px; }
 .dcx-checkout-nav { flex-wrap:wrap; }
 .dcx-checkout-nav .btn-primary { flex:1; }
 body #order-standard_cart.dcx-checkout #totalDueToday { align-items:flex-start; flex-direction:column; padding:20px; }
 body #order-standard_cart.dcx-checkout .dcx2-payment-options { grid-template-columns:1fr; }
 body #order-standard_cart.dcx-checkout #btnCompleteOrder { width:100%; }
}
body #order-standard_cart.dcx-configure .product-info { border-radius:0; font-size:15px; }
body #order-standard_cart.dcx-configure .product-info p { font-size:15px; }
body #order-standard_cart.dcx-configure .field-help-text { font-size:13px; color:#526174; line-height:1.5; }
body #order-standard_cart.dcx-checkout #frmCheckout .field-icon { display:none!important; }
body #order-standard_cart.dcx-checkout .dcx-checkout-panel .dcx-checkout-nav:has(> .btn:only-child) { justify-content:flex-end; }
body #order-standard_cart.dcx-checkout .dcx-checkout-panel:last-of-type .dcx-checkout-nav { border:0; padding-top:12px; }
body #order-standard_cart.dcx-checkout .dcx-email-entry { display:block; max-width:360px; width:100%; margin:24px auto; border:1px solid #bcc6d3; background:#fff; color:#0f172b; }
body #order-standard_cart.dcx-checkout .dcx-email-entry:hover { border-color:#0f172b; background:#f8fafc; }
.dcx-checkout-tabs button:disabled { color:#6b7280; cursor:default; }

/* Single-choice cards. Native selects remain the submission/fallback controls. */
#order-standard_cart.dcx-order select[hidden] {display:none!important}
#order-standard_cart .dcx-choice-grid {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:12px 0 24px}
#order-standard_cart .dcx-choice {position:relative;display:flex;flex-direction:column;align-items:flex-start;text-align:left;width:100%;min-width:0;gap:8px;padding:20px 16px;background:#fff;color:#0f172b;border:1px solid #cbd5e1;border-radius:8px;font:inherit;line-height:1.4;cursor:pointer;transition:border-color .15s,background-color .15s}
#order-standard_cart .dcx-choice:hover {border-color:#62748e;background:#f8fafc}
#order-standard_cart .dcx-choice[aria-checked=true] {border-color:#b10d28;box-shadow:inset 0 0 0 1px #b10d28;background:#fff9fa}
#order-standard_cart .dcx-choice:focus-visible {outline:3px solid #0f172b;outline-offset:3px}
#order-standard_cart .dcx-choice:disabled {opacity:.5;cursor:not-allowed}
#order-standard_cart .dcx-choice-marker {position:absolute;right:12px;top:12px;width:18px;height:18px;border:1px solid #94a3b8;border-radius:50%;background:#fff}
#order-standard_cart .dcx-choice[aria-checked=true] .dcx-choice-marker {border:5px solid #b10d28}
#order-standard_cart .dcx-choice img {object-fit:contain;display:block;width:36px;height:36px;margin-bottom:6px}
#order-standard_cart .dcx-choice-title {font-size:16px;font-weight:600;padding-right:20px}
#order-standard_cart .dcx-choice-version {font-size:15px;color:#475569;overflow-wrap:anywhere}
#order-standard_cart .dcx-choice-price {font-size:19px;font-weight:600;overflow-wrap:anywhere}
#order-standard_cart .dcx-choice-detail,#order-standard_cart .dcx-choice-comparison {font-size:13px;color:#475569}
#order-standard_cart .dcx-choice-saving {font-size:13px;color:#861128;background:#fce9ed;border-radius:4px;padding:3px 6px;font-weight:600}
@media(max-width:600px){#order-standard_cart .dcx-choice-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}#order-standard_cart .dcx-choice{padding:16px 12px}#order-standard_cart .dcx-choice-price{font-size:17px}}
@media(prefers-reduced-motion:reduce){#order-standard_cart .dcx-choice{transition:none}}

/* Billing is a single list of wide choices, distinct from the OS grid. */
#order-standard_cart .dcx-choice-term {grid-template-columns:minmax(0,1fr)}
#order-standard_cart .dcx-choice-term .dcx-choice {display:grid;grid-template-columns:minmax(0,1fr) auto;column-gap:16px;row-gap:4px;padding:20px 20px 20px 52px;align-items:center}
#order-standard_cart .dcx-choice-term .dcx-choice-marker {left:20px;right:auto;top:23px}
#order-standard_cart .dcx-choice-term .dcx-choice-title {grid-column:1;grid-row:1;padding:0}
#order-standard_cart .dcx-choice-term .dcx-choice-price {grid-column:2;grid-row:1;text-align:right;font-variant-numeric:tabular-nums}
#order-standard_cart .dcx-choice-term .dcx-choice-detail {grid-column:2;grid-row:2;text-align:right}
#order-standard_cart .dcx-choice-term .dcx-choice-saving {grid-column:1 / -1;justify-self:start;background:none;padding:8px 0 0;font-size:14px}
#order-standard_cart .dcx-choice-term .dcx-choice-comparison,#order-standard_cart .dcx-choice-term .dcx-choice-setup {grid-column:1 / -1;font-size:13px;color:#475569}
@media(max-width:600px){
    #order-standard_cart .dcx-choice-term .dcx-choice {padding:16px 12px 16px 40px;column-gap:8px}
    #order-standard_cart .dcx-choice-term .dcx-choice-marker {left:12px;top:19px}
    #order-standard_cart .dcx-choice-term .dcx-choice-price {font-size:16px}
    #order-standard_cart .dcx-choice-term .dcx-choice-title {font-size:15px}
}
