
body{background:#f7f5ef;color:var(--ink)}
.orders-main{max-width:980px;margin:0 auto;padding:34px 20px 100px}.orders-head{margin-bottom:20px}.orders-kicker{display:block;font-size:9px;letter-spacing:.18em;color:var(--violet);font-weight:900}.orders-head h1{font-size:clamp(32px,4vw,46px);letter-spacing:-.04em;margin:5px 0}.orders-head p{margin:0;color:var(--muted);font-size:13px}
.orders-toolbar{padding:9px;border:1px solid var(--line);border-radius:15px;background:#fff;margin-bottom:12px}.orders-tabs{display:flex;gap:6px;overflow:auto}.orders-tabs button{height:36px;padding:0 13px;border:0;border-radius:9px;background:transparent;color:var(--muted);font-size:11px;font-weight:850;white-space:nowrap;cursor:pointer}.orders-tabs button span{display:inline-grid;place-items:center;min-width:20px;height:20px;margin-left:4px;padding:0 5px;border-radius:999px;background:#f1eef4;font-size:9px}.orders-tabs button.active{background:#2c224a;color:#fff}.orders-tabs button.active span{background:rgba(255,255,255,.16);color:#fff}
.orders-loading,.orders-empty{padding:58px 18px;text-align:center;color:var(--muted)}.orders-list{border:1px solid var(--line);border-radius:18px;background:#fff;overflow:hidden}.order-row-card{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:16px;padding:18px;border-top:1px solid #eeebe7;color:inherit;text-decoration:none;transition:.15s}.order-row-card:first-child{border-top:0}.order-row-card:hover{background:#fbfaf8}.order-row-top{display:flex;align-items:center;gap:9px;flex-wrap:wrap}.order-row-top h3{margin:0;font-size:14px}.order-state{display:inline-flex;align-items:center;padding:5px 8px;border-radius:999px;background:#f0edff;color:#5c49c8;font-size:9px;font-weight:900;text-transform:uppercase}.order-state.complete{background:#e8f7ee;color:#1c7048}.order-state.cancelled{background:#fff0ee;color:#a93b37}.order-row-meta{display:flex;gap:8px;flex-wrap:wrap;margin-top:6px;color:#918b95;font-size:10px}.order-row-total{text-align:right}.order-row-total b{display:block;font-size:17px}.order-row-total small{display:block;margin-top:5px;color:var(--muted);font-size:10px}.order-open{margin-top:9px;color:var(--violet);font-size:10px;font-weight:850}
.orders-empty>span{width:48px;height:48px;margin:0 auto 14px;border-radius:14px;background:#f0edff;color:var(--violet);display:grid;place-items:center}.orders-empty>span svg{width:22px;height:22px}.orders-empty h2{font-size:22px;color:var(--ink);margin:0 0 6px}.orders-empty p{font-size:12px;margin:0}.orders-empty a{display:inline-flex;margin-top:15px;color:var(--violet);font-size:11px;font-weight:850}
.orders-pagination{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 2px}.orders-pagination p{margin:0;color:var(--muted);font-size:10px}.orders-page-controls{display:flex;align-items:center;gap:6px}.orders-page-controls button{height:34px;padding:0 11px;border:1px solid var(--line);border-radius:9px;background:#fff;color:#5e5864;font-size:10px;font-weight:850;cursor:pointer}.orders-page-controls button:disabled{opacity:.38}.orders-page-controls span{height:34px;padding:0 11px;border-radius:9px;background:#f0edff;color:#5c49c8;font-size:10px;font-weight:850;display:flex;align-items:center}
.orders-nav-badge{display:inline-grid;place-items:center;min-width:18px;height:18px;padding:0 5px;border-radius:999px;background:#6754d9;color:#fff;font-size:9px;margin-left:3px}.orders-search{max-width:650px;flex:1;margin:0 20px}.hidden{display:none!important}

/* Order detail */
.order-detail-main{max-width:1020px}.orders-back{display:inline-flex;align-items:center;gap:6px;margin-bottom:16px;color:var(--muted);font-size:11px;font-weight:850;text-decoration:none}.orders-back svg{width:15px;height:15px;transform:rotate(180deg)}
.order-summary-card{padding:22px;border:1px solid var(--line);border-radius:20px;background:#fff}.order-summary-top{display:flex;justify-content:space-between;align-items:flex-start;gap:18px}.order-summary-card h1{font-size:26px;letter-spacing:-.035em;margin:5px 0 7px}.order-summary-sub{display:flex;gap:7px;flex-wrap:wrap;color:var(--muted);font-size:11px}.order-summary-amount{text-align:right}.order-summary-amount small{display:block;color:var(--muted);font-size:9px;font-weight:800;letter-spacing:.08em}.order-summary-amount b{display:block;margin-top:4px;font-size:23px}.order-status-strip{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-top:18px}.order-status-box{padding:12px;border-radius:13px;background:#f8f6f2}.order-status-box small{display:block;color:var(--muted);font-size:9px;text-transform:uppercase;letter-spacing:.07em}.order-status-box b{display:block;margin-top:4px;font-size:11px}
.order-detail-grid{display:grid;grid-template-columns:minmax(0,1fr) 330px;gap:12px;margin-top:12px}.order-panel{padding:20px;border:1px solid var(--line);border-radius:18px;background:#fff}.order-panel+.order-panel{margin-top:12px}.order-panel h2{font-size:18px;margin:0 0 14px}.order-panel-note{font-size:11px;color:var(--muted);margin:-8px 0 14px}
.order-timeline{display:grid}.order-step{display:grid;grid-template-columns:22px 1fr;gap:10px;min-height:60px;position:relative}.order-step:before{content:"";position:absolute;left:10px;top:22px;bottom:0;width:2px;background:#ece8ef}.order-step:last-child:before{display:none}.order-step-dot{width:22px;height:22px;border-radius:50%;display:grid;place-items:center;background:#eeeaf6;color:#6754d9;font-size:9px;font-weight:900}.order-step.latest .order-step-dot{background:#6754d9;color:#fff}.order-step-copy b{display:block;font-size:12px}.order-step-copy small{display:block;margin-top:2px;color:var(--muted);font-size:9px}.order-step-copy p{margin:4px 0 0;color:#736d77;font-size:10px;line-height:1.45}
.order-item{display:flex;justify-content:space-between;gap:14px;padding:12px 0;border-top:1px solid #efebe6}.order-item:first-child{border-top:0;padding-top:0}.order-item:last-child{padding-bottom:0}.order-item b{font-size:12px}.order-item small{display:block;margin-top:3px;color:var(--muted);font-size:10px}.order-item-price{text-align:right;white-space:nowrap}
.fulfillment-box{padding:13px;border-radius:13px;background:#f8f6f2}.fulfillment-box b{font-size:12px}.fulfillment-box p{margin:4px 0 0;color:var(--muted);font-size:10px;line-height:1.5}.rider-simple{margin-top:10px;padding:13px;border-radius:13px;background:#eaf9f1}.rider-simple small{color:#39735a;font-size:9px}.rider-simple b{display:block;margin-top:3px;font-size:12px}.rider-simple p{margin:3px 0 0;color:#39735a;font-size:10px}.rider-buttons{display:flex;gap:6px;margin-top:9px}.rider-buttons a{height:34px;padding:0 10px;border:1px solid #c9e8d6;border-radius:9px;background:#fff;color:#286044;font-size:10px;font-weight:850;display:inline-flex;align-items:center;text-decoration:none}
.order-money-row{display:flex;justify-content:space-between;padding:6px 0;font-size:11px}.order-money-row.total{margin-top:5px;padding-top:11px;border-top:1px solid var(--line);font-size:16px;font-weight:900}.payment-line{padding:9px 0;border-top:1px solid #efebe6;font-size:10px}.payment-line:first-of-type{border-top:0}.payment-line b{display:block;font-size:11px}.payment-line small{color:var(--muted)}
@media(max-width:850px){.orders-search{display:none}.order-detail-grid{grid-template-columns:1fr}}
@media(max-width:620px){.orders-main{padding:22px 12px 86px}.orders-head h1{font-size:34px}.orders-toolbar{padding:7px}.order-row-card{padding:14px 13px;grid-template-columns:1fr}.order-row-total{text-align:left;display:flex;align-items:center;justify-content:space-between}.order-row-total small{margin-top:0}.orders-pagination{flex-direction:column;align-items:flex-start}.orders-page-controls{width:100%;justify-content:space-between}.order-summary-card{padding:17px 14px}.order-summary-top{display:block}.order-summary-amount{text-align:left;margin-top:15px}.order-summary-card h1{font-size:22px}.order-status-strip{grid-template-columns:1fr}.order-panel{padding:17px 14px}.order-detail-grid{gap:9px}}

/* Step 8 — customer cancellation */
.order-cancel-panel{border-color:#e7dfe8}.order-cancel-panel p{margin:0;color:var(--muted);font-size:10px;line-height:1.55}.order-cancel-panel small{display:block;margin-top:7px;color:#9a939d;font-size:9px}
.order-cancel-panel.pending{background:#fffaf0;border-color:#efdfbd}.order-cancel-panel.done{background:#f1faf5;border-color:#d6eadf}.order-cancel-panel.locked{background:#faf9f7}
.order-cancel-button{min-height:38px;margin-top:12px;padding:0 12px;border:1px solid #d9c9d0;border-radius:10px;background:#fff;color:#8c5368;font-size:10px;font-weight:900;cursor:pointer}
.order-cancel-list-note{display:inline-flex;margin-top:8px;padding:4px 7px;border-radius:999px;background:#fff4df;color:#8b651b;font-size:8px;font-weight:900}
.order-cancel-modal{position:fixed;inset:0;z-index:9000;padding:18px;background:rgba(24,20,28,.46);display:grid;place-items:center;opacity:0;visibility:hidden;transition:.18s;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px)}.order-cancel-modal.open{opacity:1;visibility:visible}
.order-cancel-dialog{position:relative;width:min(430px,100%);padding:22px;border-radius:20px;background:#fff;box-shadow:0 24px 80px rgba(29,23,36,.22)}.order-cancel-close{position:absolute;right:10px;top:9px;width:34px;height:34px;border:0;border-radius:10px;background:#f4f2f4;color:#625b66;font-size:20px;cursor:pointer}
.order-cancel-dialog h2{font-size:22px;margin:6px 0}.order-cancel-dialog>p{margin:0 0 15px;color:var(--muted);font-size:10px;line-height:1.55}.order-cancel-dialog label{display:block;margin-top:10px;color:#4d4752;font-size:9px;font-weight:850}.order-cancel-dialog label small{color:#9a939d;font-weight:600}.order-cancel-dialog select,.order-cancel-dialog textarea{width:100%;margin-top:6px;padding:0 11px;border:1px solid var(--line);border-radius:10px;background:#fff;color:#302b36;font:inherit;outline:0}.order-cancel-dialog select{height:42px}.order-cancel-dialog textarea{padding-top:10px;resize:vertical;min-height:80px}
.order-cancel-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:16px}.order-cancel-actions button{height:42px;border-radius:10px;font-size:10px;font-weight:900;cursor:pointer}.cancel-secondary{border:1px solid var(--line);background:#fff;color:#625c65}.cancel-primary{border:0;background:#8d4e62;color:#fff}.cancel-primary:disabled{opacity:.55}
.order-cancel-message{margin-top:10px;padding:9px 10px;border-radius:9px;background:#fff0ee;color:#a44747;font-size:9px;line-height:1.5}
@media(max-width:520px){.order-cancel-modal{align-items:end;padding:12px 12px calc(12px + env(safe-area-inset-bottom))}.order-cancel-dialog{border-radius:20px 20px 16px 16px;padding:19px 16px}}

/* Step 9 — Returns */
.order-return-panel{border-color:#dedff0}.order-return-panel p{margin:0;color:var(--muted);font-size:10px;line-height:1.55}.order-return-panel.locked{background:#faf9f7}.order-return-panel.existing{background:#fbfbff}
.order-return-button{min-height:38px;margin-top:12px;padding:0 12px;border:0;border-radius:10px;background:#2c224a;color:#fff;font-size:10px;font-weight:900;cursor:pointer}
.return-request-list{display:grid;gap:7px;margin-top:12px}.return-request-row{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px;border-radius:10px;background:#f7f5f8}.return-request-row b{display:block;font-size:10px}.return-request-row small{display:block;margin-top:2px;color:var(--muted);font-size:8px}.return-request-row>span{font-size:8px;font-weight:850;color:#655a70}
.order-return-modal{position:fixed;inset:0;z-index:9010;padding:18px;background:rgba(24,20,28,.46);display:grid;place-items:center;opacity:0;visibility:hidden;transition:.18s;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px)}.order-return-modal.open{opacity:1;visibility:visible}
.order-return-dialog{position:relative;width:min(580px,100%);max-height:min(88vh,760px);overflow:auto;padding:22px;border-radius:20px;background:#fff;box-shadow:0 24px 80px rgba(29,23,36,.22)}.order-return-close{position:absolute;right:10px;top:9px;width:34px;height:34px;border:0;border-radius:10px;background:#f4f2f4;color:#625b66;font-size:20px;cursor:pointer}
.order-return-dialog h2{font-size:22px;margin:6px 0}.order-return-dialog>p{margin:0 0 15px;color:var(--muted);font-size:10px;line-height:1.55}.order-return-dialog>label,.return-form-grid label{display:block;margin-top:10px;color:#4d4752;font-size:9px;font-weight:850}.order-return-dialog label small{color:#9a939d;font-weight:600}
.return-item-picker{display:grid;border:1px solid var(--line);border-radius:13px;overflow:hidden}.return-pick-row{display:grid;grid-template-columns:18px minmax(0,1fr) 74px;align-items:center;gap:9px;padding:10px;border-top:1px solid #eeeae5;cursor:pointer}.return-pick-row:first-child{border-top:0}.return-pick-row>input[type=checkbox]{width:16px;height:16px;accent-color:#6754d9}.return-pick-copy b{display:block;font-size:10px}.return-pick-copy small{display:block;margin-top:3px;color:var(--muted);font-size:8px;line-height:1.4}.return-qty{width:74px;height:36px;padding:0 7px;border:1px solid var(--line);border-radius:9px;font-size:9px}.return-qty:disabled{opacity:.45;background:#f4f2f4}
.return-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px}.order-return-dialog select,.order-return-dialog textarea{width:100%;margin-top:6px;padding:0 11px;border:1px solid var(--line);border-radius:10px;background:#fff;color:#302b36;font:inherit;outline:0}.order-return-dialog select{height:42px}.order-return-dialog textarea{padding-top:10px;resize:vertical;min-height:78px}
.return-evidence input{display:block;width:100%;margin-top:6px;padding:9px;border:1px dashed #dcd6df;border-radius:10px;background:#faf9fa;font-size:9px}
.order-return-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:16px}.order-return-actions button{height:42px;border-radius:10px;font-size:10px;font-weight:900;cursor:pointer}.return-secondary{border:1px solid var(--line);background:#fff;color:#625c65}.return-primary{border:0;background:#2c224a;color:#fff}.return-primary:disabled{opacity:.55}
.order-return-message{margin-top:10px;padding:9px 10px;border-radius:9px;background:#fff0ee;color:#a44747;font-size:9px;line-height:1.5}
@media(max-width:560px){.order-return-modal{align-items:end;padding:12px 12px calc(12px + env(safe-area-inset-bottom))}.order-return-dialog{width:100%;max-height:90vh;border-radius:20px 20px 16px 16px;padding:19px 15px}.return-form-grid{grid-template-columns:1fr}.return-pick-row{grid-template-columns:18px minmax(0,1fr);}.return-qty{grid-column:2;width:90px}.order-return-actions{position:sticky;bottom:-19px;background:#fff;padding:10px 0 0}}

/* Step 10 — Invoice / Receipt */
.order-documents-panel{border-color:#e5e1e9}.order-documents-panel .order-panel-note{margin-top:-8px;margin-bottom:12px}
.order-document-actions{display:grid;gap:7px}.order-document-actions>a,.order-document-disabled{min-height:54px;padding:9px 10px;border:1px solid #e8e3e8;border-radius:11px;background:#fff;color:#433d48;text-decoration:none;display:grid;grid-template-columns:30px 1fr;align-items:center;gap:8px}
.order-document-actions>a:hover{border-color:#cbc2e9;background:#fcfbff}.order-document-actions>a>svg,.order-document-disabled>svg{width:16px;height:16px;color:#6754d9}.order-document-actions b{display:block;font-size:10px}.order-document-actions small{display:block;margin-top:2px;color:#918b95;font-size:8px;line-height:1.35}.order-document-disabled{opacity:.58;background:#f8f7f7}

/* Step 13 — Buy Again */
.order-buy-again-panel{border-color:#e4dfeb}.buy-again-head{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}.buy-again-head h2{margin-bottom:5px}.buy-again-head button{flex:0 0 auto;border:0;border-radius:10px;background:#2c224a;color:#fff;padding:9px 11px;font-size:9px;font-weight:900;cursor:pointer}.buy-again-preview{display:grid;gap:5px;margin-top:10px}.buy-again-preview>div{display:flex;justify-content:space-between;gap:8px;padding:8px 9px;border-radius:9px;background:#f8f6f2}.buy-again-preview span{font-size:9px;font-weight:800}.buy-again-preview small{font-size:8px;color:#8c858f}.buy-again-more,.buy-again-warning{display:block;margin-top:7px;color:#8b8490;font-size:8px;line-height:1.45}.buy-again-warning{color:#9a6d33}
.buy-again-modal{position:fixed;inset:0;z-index:1000;padding:18px;background:rgba(26,22,31,.48);display:grid;place-items:center;opacity:0;transition:.18s}.buy-again-modal.open{opacity:1}.buy-again-dialog{position:relative;width:min(520px,100%);max-height:min(720px,90dvh);overflow:auto;border-radius:18px;background:#fff;padding:23px;box-shadow:0 25px 70px rgba(30,24,40,.2)}.buy-again-close{position:absolute;right:13px;top:12px;width:32px;height:32px;border:0;border-radius:50%;background:#f4f1ed;font-size:18px;cursor:pointer}.buy-again-dialog h2{margin:6px 0 7px;font-size:22px}.buy-again-dialog>p{margin:0;color:#79727d;font-size:10px;line-height:1.6}.buy-again-list{display:grid;gap:6px;margin-top:16px}.buy-again-row{display:flex;justify-content:space-between;gap:10px;padding:10px;border:1px solid #ebe6e0;border-radius:11px}.buy-again-row b{display:block;font-size:10px}.buy-again-row small{display:block;margin-top:3px;color:#8e8791;font-size:8px}.buy-again-row>span{font-size:9px;font-weight:850;white-space:nowrap}.buy-again-skipped{display:grid;gap:4px;margin-top:11px;padding:10px;border-radius:10px;background:#fff7e9;color:#805d28}.buy-again-skipped b{font-size:9px}.buy-again-skipped small{font-size:8px;line-height:1.4}.buy-again-actions{display:flex;justify-content:flex-end;gap:7px;margin-top:17px}.buy-again-actions button{border:1px solid #e2dde3;border-radius:10px;background:#fff;padding:10px 13px;font-size:9px;font-weight:850;cursor:pointer}.buy-again-actions .primary{border-color:#2c224a;background:#2c224a;color:#fff}.buy-again-actions button:disabled{opacity:.55;cursor:wait}.buy-again-message{display:grid;gap:3px;margin-top:10px;padding:9px;border-radius:9px;background:#fff6e8;color:#7d5b28;font-size:8px;line-height:1.45}
@media(max-width:600px){.buy-again-dialog{padding:20px 14px}.buy-again-row{align-items:flex-start}.buy-again-head{align-items:center}}

/* Premium Orders & Post-purchase experience */
.orders-head-premium{position:relative;display:grid;grid-template-columns:minmax(0,1fr) 190px;align-items:center;min-height:245px;margin-bottom:18px;padding:34px 38px;border:1px solid #e8e3dc;border-radius:30px;overflow:hidden;background:linear-gradient(120deg,#fff 0%,#fbf9ff 54%,#eefbf4 100%);box-shadow:0 18px 50px rgba(44,34,74,.055)}
.orders-head-premium:before{content:"";position:absolute;width:360px;height:360px;border-radius:50%;right:-135px;top:-150px;background:radial-gradient(circle at 35% 35%,rgba(145,120,255,.18),rgba(182,246,213,.18) 48%,transparent 70%)}
.orders-head-copy{position:relative;z-index:1;max-width:650px}.orders-head-premium h1{max-width:620px;margin:8px 0 12px;font-size:clamp(38px,5.2vw,66px);line-height:.98;letter-spacing:-.058em}.orders-head-premium h1 em{display:block;color:#6754d9;font-family:Georgia,serif;font-weight:400}.orders-head-premium p{max-width:590px;font-size:12px;line-height:1.75;color:#76707a}
.orders-head-orbit{position:relative;z-index:1;width:154px;height:154px;margin:auto;border:1px solid rgba(103,84,217,.16);border-radius:50%;display:grid;place-items:center}.orders-head-orbit:before,.orders-head-orbit:after{content:"";position:absolute;border:1px dashed rgba(103,84,217,.18);border-radius:50%}.orders-head-orbit:before{inset:20px}.orders-head-orbit:after{inset:44px}.orbit-core{width:58px;height:58px;border-radius:19px;background:#2c224a;color:#fff;display:grid;place-items:center;box-shadow:0 16px 34px rgba(44,34,74,.22)}.orbit-core svg{width:23px;height:23px}.orbit-dot{position:absolute;width:12px;height:12px;border:3px solid #fff;border-radius:50%;background:#6b55dc;box-shadow:0 5px 12px rgba(44,34,74,.16)}.orbit-dot-a{right:20px;top:35px}.orbit-dot-b{left:21px;bottom:30px;background:#53c69a}
.orders-overview{display:grid;grid-template-columns:repeat(4,1fr);gap:9px;margin-bottom:13px}.orders-overview-card{min-height:118px;padding:17px;border:1px solid #e8e3dc;border-radius:18px;background:#fff}.orders-overview-card.primary{background:#30244e;color:#fff;border-color:#30244e}.orders-overview-card.soft{background:#f5fbf7}.orders-overview-card small{display:block;font-size:8px;letter-spacing:.1em;font-weight:900;color:#9a939d}.orders-overview-card.primary small{color:#c9c0ee}.orders-overview-card strong{display:block;margin:9px 0 5px;font-size:28px;line-height:1}.orders-overview-card span{display:block;font-size:9px;line-height:1.45;color:#8c858f}.orders-overview-card.primary span{color:#d9d3ef}
.orders-list{border:0;background:transparent;overflow:visible;display:grid;gap:10px}.order-row-card.premium{position:relative;border:1px solid #e8e3dc!important;border-radius:20px;background:#fff;padding:19px 20px;overflow:hidden;box-shadow:0 10px 30px rgba(44,34,74,.035)}.order-row-card.premium:before{content:"";position:absolute;left:0;top:0;bottom:0;width:4px;background:#6754d9}.order-row-card.premium.complete:before{background:#4cb484}.order-row-card.premium.cancelled:before{background:#dc726c}.order-row-card.premium:hover{transform:translateY(-2px);border-color:#d7cff3!important;box-shadow:0 17px 38px rgba(44,34,74,.075)}.order-card-main{min-width:0}.order-card-eyebrow{display:block;margin-bottom:4px;color:#9a939d;font-size:8px;font-weight:800;letter-spacing:.025em}.order-row-card.premium .order-row-top{justify-content:space-between}.order-row-card.premium .order-row-top h3{font-size:15px;letter-spacing:-.02em}.order-journey-mini{display:grid;grid-template-columns:minmax(130px,1fr) auto;align-items:center;gap:14px;margin-top:15px;padding:12px 13px;border-radius:13px;background:#faf9f7}.order-journey-track{height:5px;border-radius:999px;background:#ebe7ef;overflow:hidden}.order-journey-track span{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#6754d9,#967ff2)}.complete .order-journey-track span{background:linear-gradient(90deg,#43a978,#72d5a5)}.cancelled .order-journey-track span{background:#cf6660}.order-journey-copy{text-align:right}.order-journey-copy b{display:block;font-size:10px}.order-journey-copy small{display:block;margin-top:2px;color:#8f8992;font-size:8px}.order-card-footer{display:flex;align-items:center;gap:7px;flex-wrap:wrap;margin-top:11px}.order-payment-pill,.order-attention-pill{display:inline-flex;align-items:center;min-height:24px;padding:0 8px;border-radius:999px;background:#edf8f2;color:#347151;font-size:8px;font-weight:850}.order-payment-pill.pending,.order-payment-pill.unpaid,.order-payment-pill.failed{background:#fff3df;color:#8a631f}.order-attention-pill{background:#fff2df;color:#89631e}.order-attention-pill.muted{background:#f3f0f5;color:#716a76}.order-card-footer .order-open{margin:0 0 0 auto}.order-card-footer .order-open b{font-size:13px}.order-row-card.premium .order-row-total{min-width:130px;padding-left:15px;border-left:1px solid #eeeae5;align-self:stretch;display:flex;flex-direction:column;justify-content:center}.order-row-card.premium .order-row-total small{margin:0 0 5px;color:#a099a3;font-size:8px;letter-spacing:.08em;font-weight:850}.order-row-card.premium .order-row-total b{font-size:20px}.order-row-card.premium .order-row-total span{margin-top:5px;color:#88818c;font-size:9px}
.order-journey-hero{position:relative;overflow:hidden;padding:29px;border:1px solid #e4dff0;border-radius:27px;background:linear-gradient(130deg,#30244e 0%,#47346b 58%,#6651b8 100%);color:#fff;box-shadow:0 22px 55px rgba(44,34,74,.13)}.order-journey-hero:after{content:"";position:absolute;width:340px;height:340px;right:-130px;top:-170px;border-radius:50%;background:radial-gradient(circle,rgba(173,255,214,.24),rgba(255,255,255,.05) 48%,transparent 70%)}.order-journey-hero.complete{background:linear-gradient(130deg,#24543e,#337859 62%,#50a679)}.order-journey-hero.cancelled{background:linear-gradient(130deg,#633d42,#895159)}.journey-hero-copy{position:relative;z-index:1}.order-journey-hero .orders-kicker{color:#cfc7ff}.journey-title-row{display:flex;justify-content:space-between;gap:20px;align-items:flex-start}.journey-title-row h1{margin:7px 0 5px;font-size:30px;letter-spacing:-.045em}.journey-title-row p{margin:0;color:rgba(255,255,255,.7);font-size:10px}.journey-total{text-align:right}.journey-total small{display:block;color:rgba(255,255,255,.55);font-size:8px;letter-spacing:.1em}.journey-total strong{display:block;margin-top:4px;font-size:23px}.journey-current{display:flex;align-items:center;gap:11px;margin-top:26px;padding:14px 15px;border:1px solid rgba(255,255,255,.13);border-radius:16px;background:rgba(255,255,255,.08);backdrop-filter:blur(6px)}.journey-pulse{width:12px;height:12px;border:3px solid rgba(255,255,255,.45);border-radius:50%;background:#8ff0bd;box-shadow:0 0 0 5px rgba(143,240,189,.13)}.journey-current small{display:block;color:rgba(255,255,255,.55);font-size:7px;letter-spacing:.12em;font-weight:900}.journey-current b{display:block;margin-top:2px;font-size:13px}.journey-current p{margin:2px 0 0;color:rgba(255,255,255,.72);font-size:9px}.journey-progress{height:5px;margin-top:20px;border-radius:999px;background:rgba(255,255,255,.15);overflow:hidden}.journey-progress span{display:block;height:100%;border-radius:inherit;background:#a9f1ca}.journey-milestones{display:flex;justify-content:space-between;margin-top:7px;color:rgba(255,255,255,.52);font-size:7px;font-weight:800}.journey-alert{display:grid;gap:2px;margin-top:17px;padding:11px 12px;border-radius:12px;background:rgba(255,255,255,.11)}.journey-alert b{font-size:9px}.journey-alert span{font-size:8px;color:rgba(255,255,255,.72)}
.order-status-glance{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin-top:11px}.order-status-glance>div{padding:13px 14px;border:1px solid #e8e3dc;border-radius:14px;background:#fff}.order-status-glance small{display:block;color:#9a939d;font-size:7px;letter-spacing:.09em;font-weight:900}.order-status-glance b{display:block;margin-top:4px;font-size:10px}.order-progress-panel{padding:24px}.panel-heading{display:flex;justify-content:space-between;gap:12px;align-items:flex-start;margin-bottom:18px}.panel-heading h2{margin:4px 0 0}.panel-live-dot{display:inline-flex;align-items:center;gap:5px;padding:5px 8px;border-radius:999px;background:#eaf8f0;color:#347151;font-size:8px;font-weight:900}.panel-live-dot:before{content:"";width:6px;height:6px;border-radius:50%;background:#4bbb82}.order-timeline.premium .order-step{min-height:74px;grid-template-columns:28px 1fr;gap:12px}.order-timeline.premium .order-step:before{left:13px;top:28px}.order-timeline.premium .order-step-dot{width:28px;height:28px;background:#f2eff8}.order-timeline.premium .order-step.latest .order-step-dot{background:#6754d9}.step-title{display:flex;align-items:center;justify-content:space-between;gap:10px}.step-title b{font-size:11px}.step-title small{margin:0}.order-timeline.premium .order-step-copy p{padding:8px 10px;border-radius:9px;background:#faf9f7}.journey-empty{display:grid;grid-template-columns:42px 1fr;gap:10px;align-items:center;padding:15px;border-radius:13px;background:#faf9f7}.journey-empty>span{width:42px;height:42px;border-radius:12px;background:#efebfb;color:#6754d9;display:grid;place-items:center}.journey-empty svg{width:18px}.journey-empty b{font-size:10px}.journey-empty p{margin:3px 0 0;color:#8d8790;font-size:9px;line-height:1.45}
@media(max-width:850px){.orders-head-premium{grid-template-columns:1fr;min-height:auto}.orders-head-orbit{display:none}.orders-overview{grid-template-columns:repeat(2,1fr)}.order-status-glance{grid-template-columns:repeat(2,1fr)}}
@media(max-width:620px){.orders-head-premium{padding:25px 20px;border-radius:23px}.orders-head-premium h1{font-size:42px}.orders-overview{gap:7px}.orders-overview-card{min-height:100px;padding:14px}.order-row-card.premium{grid-template-columns:1fr;padding:16px}.order-row-card.premium .order-row-total{min-width:0;padding:12px 0 0;border-left:0;border-top:1px solid #eeeae5;text-align:left;display:grid;grid-template-columns:1fr auto;align-items:end}.order-row-card.premium .order-row-total small{grid-column:1/-1}.order-row-card.premium .order-row-total span{text-align:right}.order-journey-mini{grid-template-columns:1fr}.order-journey-copy{text-align:left}.order-card-footer .order-open{width:100%;margin:5px 0 0}.order-journey-hero{padding:22px 17px;border-radius:22px}.journey-title-row{display:block}.journey-total{text-align:left;margin-top:14px}.journey-current{margin-top:18px}.journey-milestones{font-size:6px}.order-status-glance{grid-template-columns:1fr 1fr}.order-progress-panel{padding:18px 14px}}

/* Marketplace M1 — explicit failed-payment customer state */
.order-row-card.premium.payment-failed{border-color:#efd7d4!important;background:linear-gradient(180deg,#fff 0%,#fffaf9 100%)}
.order-row-card.premium.payment-failed:before{background:#d85d58}
.order-row-card.premium.payment-failed:hover{border-color:#e9bbb7!important;box-shadow:0 17px 38px rgba(159,64,59,.08)}
.order-state.payment-failed{background:#fff0ee;color:#ad3f3a}
.payment-failed .order-journey-track span{background:linear-gradient(90deg,#d85d58,#ef918b)}
.order-payment-pill.failed{background:#fff0ee;color:#a8403b}
.order-attention-pill.failed{background:#a8403b;color:#fff}
.order-failed-meta{display:flex;gap:8px;flex-wrap:wrap;margin-top:10px}
.order-failed-meta span{display:inline-flex;align-items:center;min-height:27px;padding:0 9px;border:1px solid #f0d8d5;border-radius:999px;background:#fff7f6;color:#8f5552;font-size:8px}
.order-failed-meta b{color:#743d39}
.order-journey-hero.payment-failed{background:linear-gradient(130deg,#6b3438 0%,#8d4447 58%,#b35754 100%);border-color:#8d5557}
.order-journey-hero.payment-failed .journey-pulse{background:#ffd4cf;border-color:rgba(255,255,255,.42);box-shadow:0 0 0 5px rgba(255,212,207,.12)}
.order-journey-hero.payment-failed .journey-progress span{background:#ffd2cc}
.payment-failed-hero{display:grid;grid-template-columns:56px minmax(0,1fr);gap:16px;margin-top:12px;padding:22px;border:1px solid #efd6d3;border-radius:20px;background:linear-gradient(135deg,#fff8f7,#fff);box-shadow:0 12px 34px rgba(117,52,48,.045)}
.payment-failed-icon{width:56px;height:56px;border-radius:18px;background:#a8403b;color:#fff;display:grid;place-items:center;font-size:28px;font-weight:900;box-shadow:0 12px 24px rgba(168,64,59,.18)}
.payment-failed-copy .orders-kicker{color:#ad4943}
.payment-failed-copy h2{margin:5px 0 7px;font-size:20px;letter-spacing:-.025em;color:#532d2b}
.payment-failed-copy>p{max-width:700px;margin:0;color:#806360;font-size:10px;line-height:1.65}
.payment-failed-facts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;margin-top:15px}
.payment-failed-facts span{padding:11px 12px;border:1px solid #f0dfdd;border-radius:12px;background:#fff}
.payment-failed-facts small{display:block;color:#a47d79;font-size:7px;font-weight:900;letter-spacing:.09em}
.payment-failed-facts b{display:block;margin-top:4px;color:#583633;font-size:10px;word-break:break-word}
.payment-failed-ref{display:block;margin-top:9px;color:#a28380;font-size:8px;word-break:break-all}
.payment-failed-actions{display:flex;gap:7px;margin-top:13px}
.payment-failed-actions a,.payment-failed-actions button{display:inline-flex;align-items:center;justify-content:center;min-height:37px;padding:0 12px;border:1px solid #ead3d0;border-radius:10px;background:#fff;color:#804a46;font:inherit;font-size:9px;font-weight:900;text-decoration:none;cursor:pointer}.payment-failed-actions button{background:#7c403b;border-color:#7c403b;color:#fff}.payment-failed-actions button:disabled{opacity:.55;cursor:wait}
.payment-failed-note{display:block;margin-top:9px;color:#a18b89;font-size:8px;line-height:1.5}
.order-status-glance.failed>div:nth-child(2){border-color:#efd6d3;background:#fff7f6}
.order-status-glance.failed>div:nth-child(2) b{color:#a8403b}
.order-panel.fulfillment-paused{border-color:#eee1df;background:#fffdfc}
.order-panel.fulfillment-paused .fulfillment-box{background:#fff3f1;color:#774743}
.payment-line.failed{margin-top:5px;padding:10px;border:1px solid #efd9d6;border-radius:10px;background:#fff7f6}
.payment-line.failed b{color:#9d403b}
@media(max-width:620px){.payment-failed-hero{grid-template-columns:1fr;padding:17px 14px}.payment-failed-icon{width:46px;height:46px;border-radius:14px;font-size:23px}.payment-failed-facts{grid-template-columns:1fr}.order-failed-meta{display:grid;grid-template-columns:1fr}.order-failed-meta span{justify-content:flex-start}}

/* Marketplace M6 — failed-payment partial availability recovery */
.retry-recovery{margin-top:16px;padding:16px;border:1px solid #e7dfd3;border-radius:16px;background:#fffdf9;box-shadow:0 10px 26px rgba(69,55,42,.045)}
.retry-recovery-head{display:flex;justify-content:space-between;gap:14px;align-items:flex-start}.retry-recovery-head small{display:block;color:#9b774d;font-size:7px;font-weight:900;letter-spacing:.1em}.retry-recovery-head h3{margin:4px 0 5px;color:#4c4035;font-size:15px}.retry-recovery-head p{margin:0;max-width:620px;color:#827466;font-size:9px;line-height:1.6}.retry-recovery-head>span{flex:0 0 auto;padding:7px 9px;border-radius:999px;background:#f4efe6;color:#6f5c47;font-size:8px;font-weight:900}
.retry-recovery-list{display:grid;gap:7px;margin-top:13px}.retry-recovery-item{display:grid;grid-template-columns:28px minmax(0,1fr) auto;gap:9px;align-items:center;padding:10px;border:1px solid #ece6dc;border-radius:12px;background:#fff}.retry-recovery-state{width:28px;height:28px;display:grid;place-items:center;border-radius:9px;background:#edf7ef;color:#38764a;font-weight:900}.retry-recovery-item.missing .retry-recovery-state{background:#fff0ee;color:#aa4842}.retry-recovery-item b{display:block;color:#4c4035;font-size:9px}.retry-recovery-item small{display:block;margin-top:2px;color:#9a8a7b;font-size:7px}.retry-recovery-item p{margin:3px 0 0;color:#87786b;font-size:8px;line-height:1.4}.retry-recovery-item>strong{font-size:8px;color:#4d8059}.retry-recovery-item.missing>strong{color:#b1544d}
.retry-recovery-actions{display:flex;gap:7px;margin-top:12px}.retry-recovery-actions button,.retry-recovery-actions a{display:inline-flex;min-height:37px;align-items:center;justify-content:center;padding:0 12px;border-radius:10px;border:1px solid #ded3c4;background:#fff;color:#675744;font:inherit;font-size:9px;font-weight:900;text-decoration:none;cursor:pointer}.retry-recovery-actions button{border-color:#554735;background:#554735;color:#fff}.retry-recovery-actions button:disabled{opacity:.55;cursor:wait}.retry-recovery-note{display:block;margin-top:8px;color:#98897a;font-size:8px}.retry-recovery-success{display:grid;grid-template-columns:38px minmax(0,1fr);gap:11px;align-items:start}.retry-recovery-success>span{width:38px;height:38px;border-radius:12px;display:grid;place-items:center;background:#eaf6ed;color:#39764a;font-size:17px;font-weight:900}.retry-recovery-success small{display:block;color:#4f845d;font-size:7px;font-weight:900;letter-spacing:.1em}.retry-recovery-success h3{margin:4px 0;color:#3f483e;font-size:14px}.retry-recovery-success p{margin:0 0 9px;color:#7c756d;font-size:9px;line-height:1.5}.retry-recovery-success a{display:inline-flex;align-items:center;min-height:35px;padding:0 11px;border-radius:9px;background:#4d654f;color:#fff;font-size:9px;font-weight:900;text-decoration:none}
@media(max-width:620px){.retry-recovery-head{display:block}.retry-recovery-head>span{display:inline-flex;margin-top:9px}.retry-recovery-item{grid-template-columns:28px minmax(0,1fr)}.retry-recovery-item>strong{grid-column:2}.retry-recovery-actions{flex-direction:column}.retry-recovery-actions button,.retry-recovery-actions a{width:100%}}
/* Marketplace M7 — guided failed-payment recovery */
.retry-guide{display:grid;gap:7px;margin-top:16px;padding:12px;border:1px solid #efe2df;border-radius:15px;background:rgba(255,255,255,.72)}
.retry-guide-step{display:grid;grid-template-columns:30px minmax(0,1fr) auto;gap:10px;align-items:center;padding:9px 10px;border:1px solid transparent;border-radius:11px;color:#887572;transition:.2s ease}
.retry-guide-step>span{width:30px;height:30px;display:grid;place-items:center;border-radius:10px;background:#f3ecea;color:#8e6f6b;font-size:9px;font-weight:900}
.retry-guide-step b{display:block;color:#624845;font-size:9px}.retry-guide-step small{display:block;margin-top:2px;color:#9c8986;font-size:7.5px;line-height:1.4}.retry-guide-step em{font-style:normal;font-size:7px;font-weight:900;letter-spacing:.05em;text-transform:uppercase;color:#a18e8b}
.retry-guide-step.active{border-color:#e7c8c4;background:#fff8f7;box-shadow:0 7px 18px rgba(126,62,57,.05)}.retry-guide-step.active>span{background:#7c403b;color:#fff}.retry-guide-step.active em{color:#8f403b}
.retry-guide-step.done{background:#f7fbf7}.retry-guide-step.done>span{background:#e5f3e8;color:#3e7850}.retry-guide-step.done em{color:#4d8059}
.retry-guide-step.error{border-color:#efd2cf;background:#fff7f6}.retry-guide-step.error>span{background:#a8403b;color:#fff}.retry-guide-step.error em{color:#a8403b}
.payment-failed-note[data-tone="working"]{color:#7b625f}.payment-failed-note[data-tone="ready"]{color:#477454;font-weight:800}.payment-failed-note[data-tone="error"]{color:#a34a44;font-weight:800}
@media(max-width:620px){.retry-guide{padding:9px}.retry-guide-step{grid-template-columns:28px minmax(0,1fr);padding:9px 7px}.retry-guide-step>span{width:28px;height:28px}.retry-guide-step em{grid-column:2}}

/* Marketplace M8 — customer-safe payment attempt history */
.payment-attempt-history{margin-top:16px;padding-top:15px;border-top:1px solid #eee9e2}
.payment-attempt-head{display:flex;justify-content:space-between;gap:12px;align-items:flex-start}.payment-attempt-head h2{margin:3px 0 4px!important;font-size:14px!important}.payment-attempt-head p{margin:0;max-width:440px;color:#8b8176;font-size:8px;line-height:1.5}.payment-attempt-head>span{flex:0 0 auto;padding:6px 8px;border-radius:999px;background:#f4f1ec;color:#71675c;font-size:7px;font-weight:900}
.payment-attempt-list{display:grid;gap:7px;margin-top:11px}.payment-attempt{display:grid;grid-template-columns:48px minmax(0,1fr);gap:10px;align-items:center;padding:10px;border:1px solid #ece7e0;border-radius:12px;background:#fff}.payment-attempt.failed{border-color:#f0d9d6;background:#fffafa}.payment-attempt.success{border-color:#dcebdd;background:#fbfefb}.payment-attempt.pending{border-color:#eee2c9;background:#fffdf8}
.payment-attempt-number{min-height:43px;border-right:1px solid #eee9e2;display:flex;flex-direction:column;justify-content:center}.payment-attempt-number small{font-size:6px;font-weight:900;letter-spacing:.08em;color:#a39a90}.payment-attempt-number b{margin-top:2px;font-size:15px;color:#5b5148}
.payment-attempt-main{display:flex;align-items:center;justify-content:space-between;gap:12px}.payment-attempt-main>div:first-child b{display:block;color:#4e463f;font-size:9px}.payment-attempt-main>div:first-child small{display:block;margin-top:3px;color:#9b9187;font-size:7px}.payment-attempt-amount{text-align:right}.payment-attempt-amount>b{display:block;color:#4d443c;font-size:9px}.payment-attempt-status{display:inline-flex;margin-top:4px;padding:4px 6px;border-radius:999px;font-size:6.5px;font-weight:900;text-transform:uppercase;letter-spacing:.04em;background:#f1efeb;color:#756c63}.payment-attempt-status.failed{background:#fff0ee;color:#a8403b}.payment-attempt-status.success{background:#eaf6ed;color:#39764a}.payment-attempt-status.pending{background:#fff5dd;color:#896921}
.payment-attempt-footnote{display:block;margin-top:8px;color:#9b9187;font-size:7px;line-height:1.45}
@media(max-width:620px){.payment-attempt-head{display:block}.payment-attempt-head>span{display:inline-flex;margin-top:8px}.payment-attempt{grid-template-columns:40px minmax(0,1fr)}.payment-attempt-main{align-items:flex-start}.payment-attempt-amount{min-width:92px}}

/* M10 Marketplace Credit recovery */
.payment-attempt.refunded{border-color:#ddd7f3;background:#fbfaff}.payment-attempt-status.refunded{background:#f0ecff;color:#6553a8}.payment-credit-restored{display:flex;justify-content:space-between;gap:14px;align-items:center;margin:12px 0;padding:12px 14px;border:1px solid #ded8f1;border-radius:12px;background:#faf8ff;color:#5b5276}.payment-credit-restored b{font-size:9px}.payment-credit-restored span{font-size:8px;text-align:right;color:#786f91}@media(max-width:640px){.payment-credit-restored{align-items:flex-start;flex-direction:column}.payment-credit-restored span{text-align:left}}


.order-confidence-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:10px;margin-top:12px}.order-confidence-grid>div{padding:13px;border:1px solid #e5e7eb;border-radius:14px;background:#fafafa}.order-confidence-grid small,.order-confidence-grid b,.order-confidence-grid span{display:block}.order-confidence-grid small{font-size:8px;font-weight:800;color:#6b7280}.order-confidence-grid b{margin-top:4px}.order-confidence-grid span{font-size:10px;color:#6b7280;margin-top:5px;line-height:1.4}.order-confidence-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px}.order-confidence-actions a{padding:9px 12px;border-radius:10px;border:1px solid #d1d5db;font-size:10px;font-weight:700;text-decoration:none}@media(max-width:640px){.order-confidence-grid{grid-template-columns:1fr}}
