/* Confirmation and tracking are the same private order view. */
.order-heading-actions{display:flex;justify-content:center;align-items:center;gap:12px 24px;flex-wrap:wrap;margin-top:16px}
.order-heading-actions .text-link{display:inline-flex;align-items:center;gap:8px;font-size:13px}
.order-code>span{display:block;font-size:10px;letter-spacing:.5px;margin-bottom:5px}
.order-code>strong{font-size:13px;overflow-wrap:anywhere}
.transfer-instructions{margin:22px 0;padding:20px;border:1px solid var(--line);border-radius:10px}
.transfer-instructions h3{font-size:15px;letter-spacing:0;margin-bottom:12px}
.transfer-reference{display:grid;gap:5px;padding:4px 0 16px;overflow-wrap:anywhere}
.transfer-reference>span{font-size:12px;color:var(--muted)}
.transfer-reference>strong{font-size:14px}
.transfer-reference>small{margin-top:3px}
.transfer-steps{list-style:none;margin:22px 0 0;padding:0;display:grid;gap:16px}
.transfer-steps li{display:flex;align-items:flex-start;gap:12px}
.transfer-steps li>span{display:grid;place-items:center;border:1px solid var(--line);border-radius:50%;width:28px;height:28px;flex-shrink:0;font-size:12px}
.transfer-steps strong{font-size:13px}
.reference-correction{margin-top:22px;border-block:1px solid var(--line);padding:14px 0}
.reference-correction summary{cursor:pointer;min-height:28px;font-size:13px}
.order-page .reference-form label{font-size:13px}
.order-page .reference-form .form-hint{font-size:12px;margin:5px 0}
.theme-market .order-page,.theme-market .order-followup{--order-surface:var(--wash);--order-input:var(--wash);--order-border:var(--line);--order-muted:var(--muted);color:var(--ink);color-scheme:inherit}
.theme-market .confirmation-shell{padding-top:40px;padding-bottom:35px}
.theme-market .confirmation-heading{max-width:720px;background:transparent}
.theme-market .confirmation-heading .eyebrow{color:var(--order-muted)}
.theme-market .confirmation-icon{background:color-mix(in srgb,var(--shop-success) 12%,var(--paper));color:var(--shop-success);border:1px solid color-mix(in srgb,var(--shop-success) 12%,var(--paper));width:60px;height:60px;margin-bottom:20px}
.theme-market .confirmation-heading h1{color:var(--ink);font-size:clamp(28px,3.3vw,40px);line-height:1.2;margin:12px 0}
.theme-market .confirmation-heading p{color:var(--order-muted);font-size:14px;line-height:1.7;overflow-wrap:anywhere}
.theme-market .order-code{background:var(--order-surface);border:1px solid var(--order-border);padding:12px 20px;border-radius:9px;color:var(--ink);max-width:100%}
.theme-market .order-code>span{color:var(--order-muted)}
.theme-market .order-heading-actions :is(.text-button,.text-link){color:var(--shop-link);min-height:44px;font-size:13px;text-decoration:underline;text-underline-offset:4px}
.theme-market .order-heading-actions .text-link .icon{width:18px;height:18px}
.theme-market .order-page .order-progress{max-width:840px;padding:24px 12px;margin:24px auto 32px;gap:16px;isolation:isolate}
.theme-market .order-page .order-progress>div{color:var(--order-muted);gap:12px}
.theme-market .order-page .order-progress>div:before{background:var(--order-border);top:20px;height:2px}
.theme-market .order-page .order-progress span{width:42px;height:42px;font-size:12px;color:var(--order-muted);border:1px solid var(--line);background:var(--wash)}
.theme-market .order-page .order-progress strong{font-size:12px;line-height:1.5;font-weight:550;letter-spacing:0}
.theme-market .order-page .order-progress .done{color:var(--shop-success)}
.theme-market .order-page .order-progress .done span{background:color-mix(in srgb,var(--shop-success) 12%,var(--paper));border-color:color-mix(in srgb,var(--shop-success) 12%,var(--paper));color:var(--shop-success)}
.theme-market .order-page .order-progress .current{color:var(--ink)}
.theme-market .order-page .order-progress .current span{background:var(--market-action,#0864d6);color:var(--market-on-action,#fff);border-color:var(--shop-link);box-shadow:0 0 0 5px color-mix(in srgb,var(--market-action) 10%,var(--paper))}
.theme-market .order-page .confirmation-grid{grid-template-columns:minmax(0,1.25fr) minmax(320px,.85fr);gap:32px;align-items:start}
.theme-market .order-page .confirmation-grid>div{min-width:0}
.theme-market .order-page .info-panel,.theme-market .order-followup .info-panel,.theme-market .order-followup .store-form{background:var(--order-surface);color:var(--ink);border:1px solid var(--order-border);border-radius:14px;padding:28px;margin-bottom:22px;min-width:0}
.theme-market .order-page .info-panel h2,.theme-market .order-followup h2{color:var(--ink);font-size:24px;line-height:1.35;letter-spacing:-.6px;margin:14px 0}
.theme-market .order-page .info-panel p,.theme-market .order-followup p{color:var(--order-muted);font-size:13px;line-height:1.85;overflow-wrap:anywhere}
.theme-market .order-page .info-panel p strong{color:var(--ink)}
.theme-market .order-page .info-panel small{color:var(--order-muted);font-size:12px;line-height:1.7}
.theme-market .order-page .status-chip{color:var(--shop-warning);background:color-mix(in srgb,var(--shop-warning) 12%,var(--paper));border:1px solid color-mix(in srgb,var(--shop-warning) 12%,var(--paper));font-size:11px;padding:6px 12px;font-weight:600;line-height:1.5}
.theme-market .order-page[data-order-state="payment_review"] .status-chip{color:var(--ink);background:var(--wash);border-color:var(--line)}
.theme-market .order-page:is([data-order-state="confirmed"],[data-order-state="preparing"],[data-order-state="ready"],[data-order-state="shipped"],[data-order-state="delivered"]) .status-chip{color:var(--shop-success);background:color-mix(in srgb,var(--shop-success) 12%,var(--paper));border-color:color-mix(in srgb,var(--shop-success) 12%,var(--paper))}
.theme-market .order-page:is([data-order-state="cancelled"],[data-order-state="expired"]) .status-chip{color:var(--shop-danger);background:color-mix(in srgb,var(--shop-danger) 12%,var(--paper));border-color:color-mix(in srgb,var(--shop-danger) 12%,var(--paper))}
.theme-market .order-page:is([data-order-state="cancelled"],[data-order-state="expired"]) .confirmation-icon{color:var(--order-muted);background:var(--order-surface);border-color:var(--order-border)}
.theme-market .order-page .transfer-instructions{background:var(--order-input);border-color:var(--order-border);border-left:3px solid var(--shop-link);margin:22px 0}
.theme-market .order-page .transfer-instructions h3{color:var(--ink);font-size:15px;font-weight:650}
.theme-market .order-page .transfer-instructions .payment-copy{font-size:14px;color:var(--ink);line-height:1.9;overflow-wrap:anywhere;white-space:pre-line}
.theme-market .order-page .payment-amount{gap:16px;flex-wrap:wrap;border-color:var(--order-border);background:var(--order-input);padding:18px;border:1px solid var(--order-border);border-radius:10px;color:var(--order-muted);font-size:13px;margin:20px 0}
.theme-market .order-page .payment-amount strong{font-size:30px;color:var(--ink);white-space:nowrap}
.theme-market .order-page .transfer-reference>span{color:var(--order-muted)}
.theme-market .order-page .transfer-reference>strong{color:var(--ink);letter-spacing:.5px}
.theme-market .order-page .transfer-steps{border-top:1px solid var(--order-border);padding-top:22px}
.theme-market .order-page .transfer-steps li>span{color:var(--shop-link);border-color:var(--line);background:var(--order-input)}
.theme-market .order-page .transfer-steps strong{color:var(--ink);font-size:14px}
.theme-market .order-page .transfer-steps p{font-size:12px;margin:3px 0 0}
.theme-market .order-page .reference-note{margin-top:14px;padding:14px 16px;border-radius:8px;background:var(--order-input);border:1px solid var(--order-border)}
.theme-market .order-page .payment-correction{background:color-mix(in srgb,var(--shop-warning) 12%,var(--paper));border-color:color-mix(in srgb,var(--shop-warning) 12%,var(--paper));border-left-color:var(--shop-warning);color:var(--shop-warning)}
.theme-market .order-page .payment-correction p{color:var(--shop-warning)}
.theme-market .order-page .payment-correction small{color:var(--shop-warning)}
.theme-market .order-page .reference-form{border-top:1px solid var(--order-border);padding-top:22px;margin-top:24px}
.theme-market .order-page .reference-correction{border-color:var(--order-border)}
.theme-market .order-page .reference-correction summary{color:var(--shop-link);min-height:44px;display:list-item;padding-block:10px}
.theme-market .order-page .reference-correction .reference-form{border:0;padding-top:10px;margin-top:0}
.theme-market .order-page .reference-form label{font-size:14px;font-weight:550;color:var(--ink);display:block}
.theme-market .order-page .reference-form .form-hint{color:var(--order-muted);font-size:12px}
.theme-market .order-page .reference-form input:not([type=hidden]),.theme-market .order-followup :is(input:not([type=checkbox]):not([type=hidden]),textarea,select){background:var(--order-input);color:var(--ink);border:1px solid var(--line);border-radius:8px;min-height:48px;font-size:16px;line-height:1.5;padding:12px;max-width:100%;width:100%;box-sizing:border-box}
.theme-market .order-page input::placeholder,.theme-market .order-followup input::placeholder{color:var(--muted);opacity:1}
.theme-market :is(.order-page,.order-followup) :is(button,a,input,textarea,select,summary):focus-visible{outline:3px solid var(--shop-link);outline-offset:3px}
.theme-market .order-page .reference-form .button{width:100%;min-height:52px;justify-content:space-between;font-size:14px;gap:14px;border-radius:9px;white-space:normal;text-align:left}
.theme-market .order-page .validation-summary,.theme-market .order-followup .validation-summary{color:var(--shop-danger);background:color-mix(in srgb,var(--shop-danger) 12%,var(--paper));border:1px solid color-mix(in srgb,var(--shop-danger) 12%,var(--paper));font-size:13px;line-height:1.6}
.theme-market .order-history .eyebrow{color:var(--order-muted)}
.theme-market .order-page .order-timeline{border-color:var(--line);margin-top:24px}
.theme-market .order-page .order-timeline li:before{background:var(--shop-link);box-shadow:0 0 0 4px var(--order-surface)}
.theme-market .order-page .order-timeline strong{font-size:14px;line-height:1.5;color:var(--ink)}
.theme-market .order-page .order-timeline time{color:var(--order-muted);font-size:12px;white-space:nowrap}
.theme-market .order-page .order-timeline p{font-size:13px}
.theme-market .order-page .purchase-info{gap:24px;border-bottom:1px solid var(--order-border);padding-bottom:22px;margin-bottom:18px}
.theme-market .order-page .purchase-info>div{min-width:0;overflow-wrap:anywhere}
.theme-market .order-page .purchase-info span{color:var(--order-muted);font-size:12px;margin:8px 0}
.theme-market .order-page .purchase-info strong{color:var(--ink);font-size:14px;font-weight:550}
.theme-market .order-page .purchase-info p{font-size:13px}
.theme-market .order-page .text-link{color:var(--shop-link);overflow-wrap:anywhere}
.theme-market .order-page .order-summary{background:var(--order-surface);color:var(--ink);border:1px solid var(--order-border);border-radius:14px;padding:24px;top:190px;min-width:0}
.theme-market .order-page .order-summary .eyebrow{color:var(--order-muted);font-size:10px}
.theme-market .order-page .order-summary h2{color:var(--ink);font-size:24px;line-height:1.35;margin:8px 0 18px}
.theme-market .order-page .summary-item{gap:14px;padding:20px 0;border-color:var(--order-border)}
.theme-market .order-page .summary-image{width:74px;height:90px;background:#f3f7f7;border-color:var(--order-border);border-radius:8px}
.theme-market .order-page .summary-image img{object-fit:contain;padding:6px}
.theme-market .order-page .summary-image>span{width:22px;height:22px;background:var(--wash);color:var(--ink);border:1px solid var(--muted);font-size:11px}
.theme-market .order-page .summary-item strong{font-size:13px;font-weight:600;color:var(--ink);overflow-wrap:anywhere}
.theme-market .order-page .summary-item small{color:var(--order-muted);font-size:11px;line-height:1.6}
.theme-market .order-page .summary-item>b{color:var(--ink);font-size:14px}
.theme-market .order-page .summary-row{color:var(--order-muted);font-size:13px;line-height:1.6;gap:16px}
.theme-market .order-page .summary-row strong{color:var(--ink);white-space:nowrap;font-weight:600}
.theme-market .order-page .summary-total{color:var(--ink);border-color:var(--order-border);padding-top:22px;margin-top:22px}
.theme-market .order-page .summary-total>span{font-size:16px}
.theme-market .order-page .summary-total>strong{font-size:30px}
.theme-market .order-page .order-summary>.button{background:var(--market-action,#0864d6);color:var(--market-on-action,#fff);border-color:var(--market-action,#0864d6);min-height:50px;font-size:14px;justify-content:space-between;border-radius:9px;white-space:normal}
.theme-market .order-page .order-summary>.text-button{color:var(--shop-link);min-height:44px;font-size:13px}
.theme-market .order-page .order-summary .form-hint{font-size:12px;line-height:1.7;color:var(--order-muted);margin-top:16px}
.theme-market .order-followup{padding-top:0;padding-bottom:15px}
.theme-market .order-followup .order-document-list{display:flex;flex-wrap:wrap;gap:12px;margin-top:18px}
.theme-market .order-followup .order-document-list .button{color:var(--ink);background:var(--order-input);border:1px solid var(--line);min-height:48px;white-space:normal;font-size:13px;overflow-wrap:anywhere}
.theme-market .order-followup .store-form summary{color:var(--ink);font-size:16px;line-height:1.6;cursor:pointer;min-height:44px}
.theme-market .order-followup .store-form form{margin-top:20px}
.theme-market .order-followup label{color:var(--ink);font-size:13px;line-height:1.7}
.theme-market .order-followup .recovery-consent{color:var(--order-muted)}
@media(max-width:1000px){.theme-market .order-page .confirmation-grid{grid-template-columns:minmax(0,1fr);gap:0}.theme-market .order-page .order-summary{position:static}}
@media(max-width:600px){
 .theme-market .confirmation-shell{padding-top:28px;padding-bottom:24px}
 .theme-market .confirmation-heading p{font-size:13px}
 .theme-market .confirmation-icon{width:52px;height:52px;margin-bottom:18px}
 .theme-market .order-page .order-progress{padding:12px 0;margin:20px 0 26px;gap:4px}
 .theme-market .order-page .order-progress span{width:34px;height:34px;font-size:11px}
 .theme-market .order-page .order-progress>div:before{top:16px}
 .theme-market .order-page .order-progress strong{font-size:11px;max-width:80px}
 .theme-market .order-page .info-panel,.theme-market .order-followup .info-panel,.theme-market .order-followup .store-form{padding:22px 16px;margin-bottom:18px;border-radius:12px}
 .theme-market .order-page .info-panel h2,.theme-market .order-followup h2{font-size:22px}
 .theme-market .order-page .transfer-instructions{padding:16px;margin:20px 0}
 .theme-market .order-page .payment-amount{padding:16px;gap:8px}
 .theme-market .order-page .payment-amount strong{font-size:29px}
 .theme-market .order-page .purchase-info{grid-template-columns:minmax(0,1fr);gap:16px}
 .theme-market .order-page .order-summary{padding:22px 16px}
 .theme-market .order-page .summary-item{display:grid;grid-template-columns:68px minmax(0,1fr);gap:8px 14px}
 .theme-market .order-page .summary-image{grid-row:span 2;width:68px;height:84px}
 .theme-market .order-page .summary-item>b{grid-column:2;font-size:15px}
 .theme-market .order-page .summary-item strong{font-size:14px}
 .theme-market .order-heading-actions{gap:4px 20px;margin-top:12px}
 .theme-market .order-heading-actions :is(.text-button,.text-link){font-size:12px}
 .theme-market .order-followup .order-document-list .button{width:100%;justify-content:center}
}
@media print{
 .order-heading-actions,.transfer-steps,.reference-correction,.order-followup .store-form{display:none!important}
 .theme-market .order-page{color:var(--ink)}
 .theme-market .order-page :is(.info-panel,.order-summary,.transfer-instructions,.payment-amount,.order-code){background:#fff!important;border-color:#bbb!important;box-shadow:none!important}
 .theme-market .order-page :is(h1,h2,h3,p,strong,span,small,time){color:var(--ink)!important}
}
