/* Account/checkout/confirmation only. No shared header, catalog or cart overrides. */
.cx {
  --cx-paper: var(--paper, #f4f2eb);
  --cx-surface: var(--paper-light, #fbfaf6);
  --cx-ink: var(--ink, #182522);
  --cx-muted: #536057;
  --cx-blue: var(--blue, var(--cobalt, #2248d5));
  --cx-line: #c3cabe;
  --cx-error: #8f2c22;
  --cx-sans: var(--sans, 'IBM Plex Sans', Arial, sans-serif);
  --cx-serif: var(--sans, 'IBM Plex Sans', Arial, sans-serif);
  background: var(--cx-paper);
  color: var(--cx-ink);
  font: 400 15px/1.6 var(--cx-sans);
  padding: 26px var(--gutter, 5vw) 64px;
  min-height: 70svh;
  min-width: 0;
  overflow-wrap: anywhere;
  font-variant-numeric: lining-nums;
}
.cx *, .cx *::before, .cx *::after { box-sizing: border-box; }
.cx [hidden] { display: none !important; }
.cx ::selection { background: var(--cx-blue); color: #fff; }
.cx a, .cx button, .cx input, .cx select, .cx summary { -webkit-tap-highlight-color: transparent; }
.cx :is(a, button, input, select, summary):focus-visible { outline: 2px solid var(--cx-blue); outline-offset: 4px; }
.cx :is([tabindex="-1"]):focus { outline: none; }
.cx h1 { font: 400 52px/1.12 var(--cx-serif); letter-spacing: -.025em; margin: 0; }
.cx h2 { font: 400 32px/1.2 var(--cx-serif); letter-spacing: -.02em; margin: 0 0 12px; }
.cx h3 { font: 600 15px/1.4 var(--cx-sans); letter-spacing: 0; margin: 0 0 12px; }
.cx p { max-width: 70ch; margin: 0; }
.cx a { color: inherit; }
.cx button, .cx input, .cx select { font-family: var(--cx-sans); }
.cx button { color: inherit; }
.cx strong { font-weight: 600; }
.cx address { font-style: normal; font-size: 14px; line-height: 1.8; }
.cx ul, .cx ol { padding: 0; margin: 0; list-style: none; }
.cx dl, .cx dd { margin: 0; }
.cx .cx-muted { color: var(--cx-muted); }
.cx .cx-small { font-size: 13px; line-height: 1.65; }
.cx .cx-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.cx .cx-breadcrumb { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; font-size: 12px; color: var(--cx-muted); margin-bottom: 24px; }
.cx .cx-breadcrumb a { min-height: 44px; display: inline-flex; align-items: center; }
.cx .cx-page-heading { display: flex; justify-content: space-between; gap: 28px; align-items: flex-end; padding-bottom: 32px; border-bottom: 1px solid var(--cx-line); margin-bottom: 32px; }
.cx .cx-page-heading p { color: var(--cx-muted); margin-top: 12px; max-width: 55ch; }
.cx .cx-inline-link { color: var(--cx-blue); text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.cx a.cx-inline-link { display: inline-flex; align-items: center; min-height: 44px; }
.cx .cx-check a.cx-inline-link { display: inline; min-height: 0; }
.cx .cx-inline-link:hover, .cx .cx-breadcrumb a:hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }
.cx .cx-button { min-height: 44px; display: inline-flex; gap: 10px; align-items: center; justify-content: center; padding: 12px 20px; border: 1px solid var(--cx-blue); border-radius: 0; color: #fff; background: var(--cx-blue); font-size: 14px; font-weight: 500; line-height: 1.4; cursor: pointer; text-decoration: none; text-align: center; transition: background-color 160ms ease-out, color 160ms ease-out; max-width: 100%; }
.cx .cx-button:hover { background: #1737b3; border-color: #1737b3; }
.cx .cx-button:active { background: #102980; }
.cx .cx-button--quiet { color: var(--cx-ink); background: transparent; border-color: #879385; }
.cx .cx-button--quiet:hover { background: #e3e7dc; border-color: #879385; }
.cx .cx-button--danger { color: var(--cx-error); border-color: #c5a49a; }
.cx .cx-button:disabled { color: #566255; background: #e1e5dc; border-color: #b7bfb0; cursor: not-allowed; opacity: 1; }
.cx .cx-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 22px; }
.cx .cx-feedback { padding: 17px 20px; margin: 0 0 24px; background: #e5eaf8; color: #193b89; font-size: 14px; }
.cx .cx-feedback[role="alert"] { background: #f1e5dc; color: var(--cx-error); }
.cx .cx-message { padding: 17px 20px; background: #e6e9df; font-size: 14px; line-height: 1.65; margin: 16px 0; }
.cx .cx-message a { text-decoration: underline; text-underline-offset: 3px; }
.cx .cx-message p + .cx-button { margin-top: 14px; }
.cx .cx-message--error, .cx [data-form-error]:not([hidden]) { background: #f1e5dc; color: var(--cx-error); padding: 16px 18px; font-size: 14px; }
.cx .cx-loading { padding: 24px 0; max-width: 940px; color: var(--cx-muted); }
.cx .cx-skeleton { height: 58px; margin-top: 18px; background: #e1e5da; }
.cx .cx-skeleton:last-child { width: 78%; }
.cx .cx-empty { padding: 38px 0; max-width: 650px; }
.cx .cx-empty h3 { font: 400 28px/1.2 var(--cx-serif); }
.cx .cx-empty p { color: var(--cx-muted); margin: 14px 0 24px; }
.cx .cx-footnote { font-size: 12px; color: var(--cx-muted); border-top: 1px solid var(--cx-line); margin-top: 56px; padding-top: 22px; }
.cx .cx-footnote a { min-height: 44px; }
/* Sign-in is a form with a quiet, factual secondary column. */
.cx .cx-auth-layout { display: grid; grid-template-columns: minmax(0, 570px) minmax(0, 1fr); gap: 9%; max-width: 1160px; margin: 18px 0 32px; }
.cx .cx-auth-main { min-width: 0; }
.cx .cx-auth-note { border-top: 1px solid var(--cx-line); padding-top: 25px; margin-top: 4px; max-width: 42ch; align-self: start; }
.cx .cx-auth-note h3 { font: 400 28px/1.25 var(--cx-serif); }
.cx .cx-auth-note p { color: var(--cx-muted); margin: 18px 0 0; }
.cx .cx-auth-note .cx-mail-note { margin-top: 36px; padding-top: 22px; border-top: 1px solid var(--cx-line); }
.cx .cx-auth-links { display: flex; flex-wrap: wrap; align-items: start; gap: 12px; margin-top: 22px; }
.cx .cx-resend { width: 100%; border-top: 1px solid var(--cx-line); padding-top: 22px; }
/* Native form controls keep their keyboard and autofill semantics. */
.cx .cx-form { display: grid; gap: 20px; margin-top: 26px; min-width: 0; }
.cx .cx-form > .cx-button { justify-self: start; }
.cx .cx-field { display: grid; gap: 7px; min-width: 0; }
.cx .cx-field label { font-size: 13px; font-weight: 500; }
.cx .cx-field input, .cx .cx-field select { width: 100%; min-height: 48px; min-width: 0; border: 1px solid #8f9b8d; border-radius: 0; padding: 11px 13px; background: var(--cx-surface); color: var(--cx-ink); font-size: 16px; line-height: 1.5; caret-color: var(--cx-blue); box-shadow: none; }
.cx .cx-field input::placeholder { color: #5f6b60; opacity: 1; }
.cx .cx-field input:hover, .cx .cx-field select:hover { border-color: var(--cx-ink); }
.cx .cx-field [aria-invalid="true"] { border-color: var(--cx-error); }
.cx .cx-field input:disabled { color: var(--cx-muted); background: #e9ebe3; }
.cx .cx-field-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.cx fieldset { display: grid; gap: 18px; min-width: 0; padding: 24px 0 0; border: 0; border-top: 1px solid var(--cx-line); margin: 6px 0 0; }
.cx legend { padding-right: 15px; font-size: 16px; font-weight: 600; }
.cx .cx-check { display: flex; gap: 14px; align-items: flex-start; min-height: 44px; padding: 8px 0; font-size: 14px; line-height: 1.7; cursor: pointer; }
.cx .cx-check input, .cx .cx-option input { accent-color: var(--cx-blue); width: 20px; height: 20px; flex: none; margin: 3px 0 0; cursor: pointer; }
/* Orders lead. No KPI cards. */
.cx .cx-account-layout { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 6%; align-items: start; }
.cx .cx-account-nav { position: sticky; top: 108px; display: grid; gap: 6px; }
.cx .cx-account-nav button { min-height: 44px; display: block; text-align: left; padding: 12px 14px; font: 500 14px/1.4 var(--cx-sans); background: transparent; border: 0; cursor: pointer; }
.cx .cx-account-nav button:hover { background: #e5e8dd; }
.cx .cx-account-nav button[aria-current="page"] { color: #fff; background: var(--cx-blue); }
.cx .cx-account-nav .cx-signout { margin-top: 20px; border-top: 1px solid var(--cx-line); padding-top: 18px; }
.cx .cx-account-panel { min-width: 0; }
.cx .cx-panel-heading { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; margin-bottom: 30px; }
.cx .cx-panel-heading > div { min-width: 0; }
.cx .cx-ledger-head, .cx .cx-order-row { display: grid; grid-template-columns: minmax(120px, 1.2fr) minmax(150px, 1.3fr) minmax(70px, .7fr) 100px; gap: 18px; align-items: center; }
.cx .cx-ledger-head { color: var(--cx-muted); font-size: 12px; padding-bottom: 12px; border-bottom: 1px solid var(--cx-line); }
.cx .cx-order-row { min-height: 92px; padding: 20px 0; border-bottom: 1px solid var(--cx-line); font-size: 14px; text-decoration: none; }
.cx .cx-order-row:hover { background: #e8ebdf; }
.cx .cx-row-date { display: block; color: var(--cx-muted); font-size: 12px; margin-top: 5px; }
.cx .cx-order-row__total, .cx .cx-ledger-head > span:nth-child(3) { text-align: right; font-variant-numeric: tabular-nums; }
.cx .cx-order-row__open { color: var(--cx-blue); text-decoration: underline; text-underline-offset: 4px; text-align: right; font-size: 13px; }
.cx .cx-state { display: inline-block; width: fit-content; font-size: 12px; line-height: 1.5; padding: 6px 10px; background: #e3e8de; color: #344d35; }
.cx .cx-state[data-tone="success"] { background: #dce7d9; color: #294c2d; }
.cx .cx-state[data-tone="warning"] { background: #f1e3d5; color: #773c1e; }
.cx .cx-pagination { display: flex; align-items: center; gap: 10px; margin-top: 22px; }
.cx .cx-pagination p { font-size: 12px; color: var(--cx-muted); margin-right: auto; }
.cx .cx-pagination .cx-button { padding: 10px 14px; font-size: 12px; }
.cx .cx-order-detail { max-width: 980px; }
.cx .cx-detail-heading { display: flex; justify-content: space-between; align-items: start; gap: 22px; margin: 12px 0 28px; }
.cx .cx-detail-heading h2 { font-size: 32px; overflow-wrap: anywhere; }
.cx .cx-status-list { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; border-top: 1px solid var(--cx-line); border-bottom: 1px solid var(--cx-line); padding: 20px 0; margin: 22px 0; }
.cx .cx-status-list dt { font-size: 12px; color: var(--cx-muted); margin-bottom: 5px; }
.cx .cx-status-list dd { font-size: 15px; }
.cx .cx-section-label { margin-top: 32px; }
.cx .cx-lines { margin: 10px 0 0; }
.cx .cx-lines li { display: flex; gap: 18px; justify-content: space-between; align-items: flex-start; border-bottom: 1px solid var(--cx-line); padding: 18px 0; font-size: 14px; }
.cx .cx-lines li > div { min-width: 0; }
.cx .cx-lines li > div > span { display: block; font-size: 12px; margin-top: 6px; }
.cx .cx-lines li > span { flex: none; font-variant-numeric: tabular-nums; }
.cx .cx-totals { margin: 26px 0; font-size: 14px; font-variant-numeric: tabular-nums; }
.cx .cx-totals > div { display: flex; justify-content: space-between; gap: 20px; padding: 6px 0; }
.cx .cx-totals dt { min-width: 0; }
.cx .cx-totals dd { text-align: right; flex: none; }
.cx .cx-totals__included { font-size: 12px; color: var(--cx-muted); }
.cx .cx-totals .cx-totals__grand { border-top: 1px solid var(--cx-line); margin-top: 14px; padding-top: 18px; font-weight: 600; font-size: 18px; }
.cx .cx-address-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin: 30px 0; }
.cx .cx-payment-records { border-top: 1px solid var(--cx-line); padding-top: 24px; margin-top: 28px; }
.cx .cx-payment-records li { display: grid; gap: 5px; font-size: 13px; margin: 14px 0; }
.cx .cx-payment-records li span { color: var(--cx-muted); font-variant-numeric: tabular-nums; }
.cx .cx-fulfilment, .cx .cx-documents { border-top: 1px solid var(--cx-line); padding-top: 24px; margin-top: 32px; }
.cx .cx-documents p { font-size: 14px; }
.cx .cx-documents .cx-small { font-size: 12px; margin-top: 16px; }
.cx .cx-tracking { display: grid; gap: 18px; }
.cx .cx-tracking li { display: grid; gap: 4px; font-size: 14px; }
.cx .cx-profile-form { max-width: 640px; }
.cx .cx-saved-address { padding: 24px 0; border-bottom: 1px solid var(--cx-line); display: flex; justify-content: space-between; align-items: start; gap: 28px; }
.cx .cx-saved-address .cx-actions { margin-top: 0; }
.cx .cx-address-editor { margin-top: 34px; max-width: 680px; }
.cx .cx-address-editor > summary { cursor: pointer; min-height: 44px; padding: 12px 0; color: var(--cx-blue); text-decoration: underline; text-underline-offset: 4px; }
.cx .cx-section-break { border-top: 1px solid var(--cx-line); margin-top: 38px; padding-top: 28px; }
/* One linear checkout. The summary scrolls in the document on short screens. */
.cx .cx-steps { display: flex; gap: 26px; border-bottom: 1px solid var(--cx-line); padding-bottom: 22px; margin: 0 0 32px; }
.cx .cx-steps li { display: flex; align-items: center; gap: 10px; color: var(--cx-muted); font-size: 13px; }
.cx .cx-steps li[aria-current="step"] { color: var(--cx-blue); font-weight: 600; }
.cx .cx-step-number { width: 28px; height: 28px; display: inline-grid; place-items: center; border: 1px solid currentColor; border-radius: 50%; font-size: 12px; flex: none; }
.cx .cx-checkout-layout { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .8fr); gap: 7%; align-items: start; }
.cx .cx-checkout-main { min-width: 0; max-width: 690px; }
.cx .cx-checkout-main > h2 { font-size: 32px; }
.cx .cx-order-summary { background: #e7eade; padding: 28px; min-width: 0; position: sticky; top: 106px; }
.cx .cx-order-summary h2 { font: 500 20px/1.3 var(--cx-sans); letter-spacing: 0; }
.cx .cx-order-summary .cx-lines { margin-top: 16px; }
.cx .cx-order-summary .cx-button { width: 100%; margin-top: 18px; font-size: 13px; }
.cx .cx-summary-note { font-size: 12px; color: var(--cx-muted); line-height: 1.8; border-top: 1px solid var(--cx-line); padding-top: 16px; margin-top: 24px; }
.cx .cx-back-shop { margin-top: 14px; font-size: 13px; }
.cx .cx-option { display: flex; align-items: flex-start; gap: 14px; padding: 19px 16px; min-height: 66px; border: 1px solid #a4afa0; background: var(--cx-surface); cursor: pointer; }
.cx .cx-option:hover { border-color: var(--cx-blue); }
.cx .cx-option:has(input:checked) { border-color: var(--cx-blue); background: #e9edf9; }
.cx .cx-option > span { display: grid; gap: 6px; flex: 1; min-width: 0; font-size: 14px; }
.cx .cx-option > span > span { font-size: 12px; color: var(--cx-muted); line-height: 1.65; }
.cx .cx-option > strong { font-size: 14px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.cx .cx-option--disabled { cursor: not-allowed; background: #e9ebe3; }
.cx .cx-option--disabled input { cursor: not-allowed; }
.cx .cx-confirm-note { font-size: 14px; color: var(--cx-muted); margin-bottom: 30px; }
.cx .cx-confirm-private { max-width: 740px; padding: 12px 0; }
.cx .cx-confirm-private > p { margin: 18px 0; }
.cx .cx-reference { font-size: 27px; font-weight: 500; font-variant-numeric: tabular-nums; }
.cx--confirmation [data-customer-content] { max-width: 1040px; }
@media (min-width: 1800px) { .cx { padding-right: max(var(--gutter, 5vw), calc((100vw - 1680px) / 2)); padding-left: max(var(--gutter, 5vw), calc((100vw - 1680px) / 2)); } }
@media (max-width: 1100px) { .cx .cx-account-layout { grid-template-columns: 170px minmax(0, 1fr); gap: 32px; } .cx .cx-ledger-head, .cx .cx-order-row { grid-template-columns: minmax(105px, 1fr) minmax(140px, 1fr) 80px; gap: 14px; } .cx .cx-order-row__open { grid-column: 1 / -1; text-align: left; } .cx .cx-ledger-head > span:last-child { display: none; } .cx .cx-checkout-layout { gap: 35px; } .cx .cx-order-summary { padding: 23px; } }
@media (max-width: 850px) { .cx .cx-auth-layout { gap: 40px; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); } .cx .cx-account-layout { grid-template-columns: minmax(0, 1fr); gap: 28px; } .cx .cx-account-nav { position: static; display: flex; flex-wrap: wrap; gap: 5px; border-bottom: 1px solid var(--cx-line); padding-bottom: 18px; } .cx .cx-account-nav .cx-signout { margin: 0 0 0 auto; padding-top: 12px; border: 0; } .cx .cx-checkout-layout { grid-template-columns: minmax(0, 1fr); gap: 36px; } .cx .cx-checkout-main { max-width: none; } .cx .cx-order-summary { position: static; } }
@media (max-width: 620px) {
  .cx { padding-top: 12px; padding-bottom: 40px; font-size: 14px; }
  .cx h1 { font-size: 40px; } .cx h2 { font-size: 29px; }
  .cx .cx-breadcrumb { margin-bottom: 18px; font-size: 11px; }
  .cx .cx-page-heading { align-items: start; flex-direction: column; gap: 14px; padding-bottom: 24px; margin-bottom: 24px; }
  .cx .cx-page-heading p { font-size: 14px; margin-top: 12px; }
  .cx .cx-page-heading > .cx-inline-link { font-size: 12px; }
  .cx .cx-auth-layout { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .cx .cx-auth-note { max-width: none; }
  .cx .cx-auth-note h3 { font-size: 26px; }
  .cx .cx-auth-note .cx-mail-note { margin-top: 24px; }
  .cx .cx-field-pair { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .cx .cx-form { margin-top: 23px; }
  .cx .cx-form > .cx-button { justify-self: stretch; }
  .cx .cx-check { font-size: 13px; gap: 12px; }
  .cx .cx-panel-heading { margin-bottom: 20px; gap: 14px; flex-wrap: wrap; }
  .cx .cx-panel-heading h2 { font-size: 30px; }
  .cx .cx-account-nav { gap: 4px; }
  .cx .cx-account-nav button { padding: 10px 12px; font-size: 12px; }
  .cx .cx-account-nav .cx-signout { margin-left: 0; }
  .cx .cx-ledger-head { display: none; }
  .cx .cx-order-row { grid-template-columns: minmax(0, 1fr) auto; gap: 13px 12px; padding: 22px 0; }
  .cx .cx-order-row > .cx-state { grid-row: 2; grid-column: 1; }
  .cx .cx-order-row__total { grid-column: 2; grid-row: 1; }
  .cx .cx-order-row__open { grid-column: 2; grid-row: 2; text-align: right; font-size: 12px; }
  .cx .cx-state { font-size: 11px; padding: 5px 8px; }
  .cx .cx-detail-heading { flex-direction: column; gap: 16px; }
  .cx .cx-detail-heading h2 { font-size: 29px; }
  .cx .cx-status-list { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .cx .cx-address-pair { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .cx .cx-lines li { font-size: 13px; }
  .cx .cx-totals { font-size: 13px; }
  .cx .cx-totals__included { font-size: 12px; }
  .cx .cx-actions { flex-direction: column; align-items: stretch; gap: 10px; }
  .cx .cx-actions .cx-button { width: 100%; }
  .cx .cx-saved-address { flex-direction: column; }
  .cx .cx-saved-address .cx-actions { width: 100%; flex-direction: row; }
  .cx .cx-saved-address .cx-actions .cx-button { width: auto; }
  .cx .cx-steps { gap: 13px; align-items: flex-start; }
  .cx .cx-steps li { gap: 8px; flex: 1; align-items: flex-start; font-size: 11px; line-height: 1.5; }
  .cx .cx-step-number { width: 23px; height: 23px; font-size: 11px; }
  .cx .cx-order-summary { padding: 24px 20px; }
  .cx .cx-option { gap: 11px; padding: 17px 13px; }
  .cx .cx-option > span { font-size: 13px; }
  .cx .cx-pagination { flex-wrap: wrap; gap: 8px; }
  .cx .cx-pagination p { width: 100%; }
  .cx .cx-feedback { padding: 16px; font-size: 13px; }
}
@media (max-height: 750px) { .cx .cx-order-summary, .cx .cx-account-nav { position: static; } }
@media (prefers-reduced-motion: reduce) { .cx *, .cx *::before, .cx *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }
