.order-summary-card .order-summary-head{padding:23px 24px 18px}
.order-summary-card .order-summary-head h2{font-size:25px;line-height:1.2}
.order-product-summary{margin:0 24px;padding-bottom:23px;border-bottom:1px solid #303b49}
.order-product-summary h3{margin:0;font-size:19px;line-height:1.3;letter-spacing:-.02em}
.order-product-summary p{margin:8px 0 0;color:#a6b8d0;font-size:13px;line-height:1.5;overflow-wrap:anywhere}
.order-customer-section{margin:18px 24px 0}
.order-customer-tabs{display:flex;border-bottom:1px solid #303b49;margin-bottom:20px}
.order-customer-tabs button{flex:1;min-width:0;min-height:46px;padding:10px 6px;border:0;border-bottom:2px solid transparent;background:transparent;color:#a6b8d0;font:500 14px/1.4 var(--font-sans);cursor:pointer}
.order-customer-tabs button[aria-selected="true"]{border-bottom-color:#f71940;color:#fff}
.order-customer-tabs button:hover{color:#fff;background:#1a2029}
.order-customer-tabs button:focus-visible,.order-signin-button:focus-visible{outline:2px solid #95bbff;outline-offset:3px}
.order-customer-section [hidden]{display:none!important}
.order-customer-section .order-contact-field{padding:0;gap:9px;color:#f5f7fb;font-size:13px;font-weight:600}
.order-customer-section .order-contact-field input{min-height:46px;padding:12px;font-size:16px;font-weight:400;border-radius:7px}
.order-customer-section .order-contact-field small,.order-signin-help{font-size:12px;line-height:1.5;color:#a6b8d0;font-weight:400}
.order-customer-section .order-contact-requirement{color:#ff8d9e!important}
.order-customer-section input[aria-invalid="true"]{border-color:#ff768c}
.order-signin-button{display:flex;align-items:center;justify-content:center;gap:9px;width:100%;min-height:45px;border:0;border-radius:7px;padding:11px;margin-top:13px;background:#f71940;color:#fff;font:600 14px/1.4 var(--font-sans);cursor:pointer}
.order-signin-button:hover:not(:disabled){background:#d71033}
.order-signin-button:disabled{opacity:.6;cursor:wait}
.order-signin-help{margin:10px 0 0}
.order-signin-status{margin:10px 0 0;font-size:12px;line-height:1.5;color:#a5c9ff;overflow-wrap:anywhere}
.order-signin-status:empty{display:none}
.order-signin-code{margin-top:16px;padding-top:14px;border-top:1px solid #303b49}
.order-signin-code[hidden]{display:none}
.order-signin-code .order-contact-field input{font:600 20px/1.2 var(--font-sans);letter-spacing:.18em;text-align:center}
.order-signin-button-secondary{background:#242c35;border:1px solid #3a4653}
.order-signin-button-secondary:hover:not(:disabled){background:#2d3640}
.order-signin-status.is-error{color:#ff8d9e}
.order-signed-in{padding:14px;background:#0e1319;border:1px solid #303b49;border-radius:8px}
.order-signed-in strong{font-size:14px;color:#8adeb2}.order-signed-in p{margin:7px 0 0;color:#a6b8d0;font-size:13px;overflow-wrap:anywhere}
.order-summary-card .shopping-size-bar{margin:24px 24px 14px;padding-top:18px;border-top:1px solid #303b49;gap:8px}
.order-summary-card .shopping-size-bar strong{font-size:17px;line-height:1.3}.order-summary-card .shopping-size-bar button{font-size:13px;min-height:38px}
@media(max-width:380px){.order-summary-card .order-summary-head{padding:20px 18px 16px}.order-product-summary{margin:0 18px}.order-customer-section{margin:18px 18px 0}.order-summary-card .shopping-size-bar{margin:22px 18px 12px}.order-product-summary h3{font-size:18px}}

/* Version 3.20 Add to cart page: no 3D mockup, two columns.
 * Column 1 holds the design summary and customer sign-in, column 2 the size
 * roster with the Add to cart bar. The viewer panel is hidden and the
 * controls panel spans the whole workspace. */
body.order-view-active .workspace{grid-template-columns:1fr}
body.order-view-active .viewer-panel{display:none!important}
body.order-view-active .controls-panel{border-right:0}
.control-view[data-control-view="order"]{padding:0 0 6px!important}
.order-page{max-width:1280px;margin:0 auto;padding:8px 28px 0}
.order-edit-design:focus-visible,.size-qty-step:focus-visible{outline:2px solid #95bbff;outline-offset:3px}
.order-columns{display:grid;grid-template-columns:minmax(340px,440px) minmax(0,1fr);gap:28px;align-items:start}
.order-column{min-width:0}
.order-column-label{margin:0 0 10px 2px;color:#939aa7;font-size:11px;font-weight:800;letter-spacing:.16em;text-transform:uppercase}
.order-summary-card{overflow:clip}

/* Column 1: thumbnail beside the design copy */
.order-product-summary{display:grid;grid-template-columns:96px minmax(0,1fr);gap:16px;align-items:center}
.order-design-thumb{width:96px;height:96px;border:1px solid #303b49;border-radius:12px;background:#1a1d24;overflow:hidden;display:grid;place-items:center}
.order-design-thumb img{display:block;width:100%;height:100%;object-fit:cover}
.order-design-thumb img[hidden]{display:none}
.order-design-thumb:has(img[hidden])::before{content:"";width:34px;height:34px;border-radius:50%;border:2px solid #303b49;border-top-color:#ff3b4e;animation:order-thumb-spin 1s linear infinite}
@keyframes order-thumb-spin{to{transform:rotate(360deg)}}
.order-product-copy{min-width:0}
.order-edit-design{display:inline-flex;align-items:center;gap:6px;margin-top:8px;padding:0;border:0;background:none;color:#ff8591;font:700 13px/1.4 var(--font-sans);cursor:pointer}
.order-edit-design:hover{text-decoration:underline;text-underline-offset:3px}
.order-customer-section{margin-bottom:24px}

/* Column 2: roster */
.order-roster-card .shopping-size-bar{margin:14px 24px 10px;padding-top:0;border-top:0}
.order-roster-card .shopping-size-bar strong{font-size:22px;line-height:1.2;letter-spacing:-.02em}
.order-roster-card .shopping-size-bar button{font-size:14px;font-weight:700;color:#ff8591}
.order-roster-card .size-order-header,.order-roster-card .size-order-row,.order-roster-card .size-order-total-row{grid-template-columns:1.4fr auto .8fr .9fr;padding-left:24px;padding-right:24px;column-gap:18px}
.order-roster-card .size-order-header{font-size:10px}
.order-roster-card .size-order-row{min-height:44px}
.order-roster-card .size-order-row>strong:first-child{font-size:14px;font-weight:500;color:#e6eaf0}
.order-roster-card .size-order-row.has-quantity{background:#171b22}
.order-roster-card .unit-price,.order-roster-card .line-total{font-size:15px}
.order-roster-card .line-total{font-weight:800}
.order-roster-card .size-order-total-row{min-height:48px;font-size:15px}
.size-qty-stepper{display:inline-flex;justify-self:end;border:1px solid #343b47;border-radius:10px;overflow:hidden;background:#15181e}
.size-order-row.has-quantity .size-qty-stepper{border-color:#ff3347}
.size-qty-step{width:36px;height:32px;border:0;background:#15181e;color:#fff;font-size:18px;font-weight:700;cursor:pointer}
.size-qty-step:hover{background:#222731}
.size-qty-step:active{background:#2b313d}
.order-roster-card .size-qty-input{width:50px;height:32px;justify-self:auto;border:0;border-left:1px solid #343b47;border-right:1px solid #343b47;border-radius:0;font-size:16px;-moz-appearance:textfield}
.order-roster-card .size-qty-input::-webkit-outer-spin-button,.order-roster-card .size-qty-input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}
.order-roster-card .size-qty-input:focus{box-shadow:inset 0 0 0 1px #ff3347}
.order-roster-card .order-checkout-area{padding:12px 24px 12px}
.order-roster-card .order-quantity-requirement{margin-top:6px}
.order-roster-card .secure-note{margin-top:4px;font-size:12px}
.order-roster-card #orderStickyPieces{font-size:13px;white-space:normal}
.order-roster-card #orderButtonTotal{font-size:22px;letter-spacing:-.03em}
.order-roster-card .order-now-button{padding:14px 28px;font-size:16px;border-radius:12px;box-shadow:0 8px 24px rgba(238,32,52,.33)}
.order-roster-card .order-now-button:disabled{box-shadow:none}

@media(max-width:1100px){.order-columns{grid-template-columns:minmax(300px,380px) minmax(0,1fr);gap:20px}}
@media(max-width:900px){
  .order-page{padding:8px 16px 0}
  .order-columns{grid-template-columns:1fr;gap:20px;max-width:640px;margin:0 auto}
  .order-roster-card .size-order-header,.order-roster-card .size-order-row,.order-roster-card .size-order-total-row{padding-left:16px;padding-right:16px;column-gap:12px}
  .size-qty-step{width:36px}
  .order-roster-card .size-qty-input{width:48px}
  /* The mobile sheet normally leaves room for the 3D preview thumbnail; the
   * order page has no mockup, so neither the room nor the thumbnail. */
  body.mobile-main-menu-active .control-view[data-control-view="order"].active{padding-top:0!important}
  body.order-view-active .mobile-viewer-preview{display:none!important}
  /* The mobile workspace assumes a 64px header; the store header is taller,
   * which would push the Add to cart bar under the bottom navigation. */
  body.mobile-main-menu-active.order-view-active .workspace{height:calc(100dvh - var(--topbar-height) - var(--mobile-nav-height))!important}
  body.mobile-main-menu-active .order-page{padding:0}
}
@media(max-width:520px){
  .order-roster-card .size-order-header,.order-roster-card .size-order-row,.order-roster-card .size-order-total-row{grid-template-columns:minmax(0,1fr) auto minmax(0,.7fr) minmax(0,.9fr);padding-left:12px;padding-right:12px;column-gap:8px}
  .order-roster-card .size-order-row>strong:first-child{font-size:13px;overflow-wrap:anywhere}
  .order-roster-card .unit-price,.order-roster-card .line-total{font-size:13px}
  .size-qty-step{width:32px;height:32px;font-size:16px}
  .order-roster-card .size-qty-input{width:40px;height:32px;font-size:15px}
  .order-roster-card #orderButtonTotal{font-size:19px;white-space:nowrap}
  .order-roster-card .order-now-button{padding:14px 20px;font-size:15px}
}
@media(max-width:380px){.order-page{padding:8px 12px 0}.order-product-summary{grid-template-columns:76px minmax(0,1fr);gap:12px}.order-design-thumb{width:76px;height:76px}}
