/* Customer orders only. Keep catalogue cards, editor and manager untouched. */
body.orders-page{--order-line:#dce2e8;--order-soft:#f4f6f8;--order-ink:var(--shop-ink,#172437);--order-muted:#566577}
body.orders-page.journey-page .main{max-width:1100px;padding-top:30px}
body.orders-page.journey-page .heading{background:transparent!important;color:var(--order-ink)!important;border:0!important;box-shadow:none!important;padding:8px 0 24px;margin:0}
body.orders-page.journey-page .heading::before{display:none}
body.orders-page.journey-page .heading h1{font-size:clamp(30px,4vw,44px);line-height:1.15;letter-spacing:-.04em;margin:0 0 10px}
body.orders-page .heading>p:last-child{font-size:15px;color:var(--order-muted)!important;margin:0}
body.orders-page .heading{display:grid;grid-template-columns:minmax(0,1fr) auto;column-gap:20px}
body.orders-page .heading h1,body.orders-page .heading p{grid-column:1}
body.orders-page .heading #refresh{grid-column:2;grid-row:1/3;align-self:center}
body.orders-page #refresh{padding:10px 14px;min-height:44px;border:1px solid #d2dae3;border-radius:12px;box-shadow:none;background:#fff;color:#344a62;font:inherit;font-size:13px;cursor:pointer}
body.orders-page.journey-page #list{grid-template-columns:1fr;gap:14px;max-width:850px;margin-inline:auto}
body.orders-page.journey-page #list .order-btn{display:block;border:1px solid var(--order-line);border-radius:18px;padding:22px 26px;background:#fff;box-shadow:0 3px 15px #17243704;color:var(--order-ink);text-align:start;transition:border-color .16s,background .16s}
body.orders-page.journey-page #list .order-btn:hover{background:#fafbfc;border-color:#92a3b5}
body.orders-page .order-row-top,.orders-page .order-row-bottom{display:flex;justify-content:space-between;align-items:center;gap:12px}
body.orders-page .order-row-top>span:first-child{min-width:0}
body.orders-page #list .order-btn strong{font-size:17px;font-weight:650}
body.orders-page #list .order-btn small{font-size:13px;color:var(--order-muted);margin-top:4px}
body.orders-page .order-row-bottom{padding-top:16px;margin-top:16px;border-top:1px solid #edf0f3}
body.orders-page .order-open-label{display:flex;align-items:center;gap:14px;font-size:14px;font-weight:600;color:#315474}
body.orders-page .order-arrow{font-size:22px;font-weight:400}
html[dir=rtl] body.orders-page .order-arrow{transform:scaleX(-1)}
body.orders-page #list .order-mini-items{display:flex;flex-wrap:wrap;gap:12px 24px;margin-top:18px;text-align:start}
body.orders-page #list .order-mini-item{max-width:290px;flex:1 1 230px;font-size:14px}
body.orders-page #list .order-more{align-self:center}
body.orders-page .badge{border:0;box-shadow:none;font-size:12px;font-weight:650;background:#edf2f7;color:#3f5873;line-height:1.5;max-width:180px}
body.orders-page .badge:is(.completed,.ready){background:#e7f3ed;color:#22614b}
body.orders-page .badge:is(.cancelled,.refunded,.rejected){background:#fbecee;color:#94354b}
body.orders-page .badge:is(.preparing,.confirmed,.processing){background:#f7f0e2;color:#765a2e}
body.orders-page.journey-page #details{max-width:none;background:#fff;border:1px solid var(--order-line);border-radius:22px;padding:28px 34px;box-shadow:0 6px 24px #17243705;overflow:visible}
body.orders-page .order-view-nav{padding-bottom:18px;margin-bottom:24px;border-color:var(--order-line)}
body.orders-page .order-view-nav>span{display:none}
body.orders-page .order-view-nav button{background:transparent;border:0;padding:0;min-height:44px;box-shadow:none;color:#3e5872;font-weight:600}
body.orders-page.journey-page #details .summary{background:transparent!important;box-shadow:none!important;border:0;border-radius:0;padding:0;align-items:start;gap:20px}
body.orders-page .summary h2{font-size:clamp(24px,3vw,32px);letter-spacing:-.035em;line-height:1.2;margin:0 0 9px}
body.orders-page .summary p{font-size:14px;line-height:1.6;color:var(--order-muted);margin:3px 0}
body.orders-page .order-detail-actions{margin:22px 0 24px;gap:10px}
body.orders-page .order-detail-actions p{flex-basis:100%;font-size:12px;color:var(--order-muted);margin-top:4px}
body.orders-page #details :is(button,.secondary-btn,.text-btn){font-family:inherit;min-height:44px;font-size:14px;line-height:1.4;touch-action:manipulation}
body.orders-page #details :is(.secondary-btn,.text-btn){border:1px solid #d2dae3;background:#fff;color:#344a62;border-radius:12px;padding:11px 16px;box-shadow:none}
body.orders-page #details .action{border-radius:12px;padding:12px 22px;min-height:46px}
body.orders-page #details .cancel-btn{background:#fff3f5;color:#94354b;border:1px solid #ebc5cd;border-radius:12px;padding:11px 16px}
body.orders-page .order-detail-grid{display:grid;grid-template-columns:minmax(0,1fr) 290px;gap:32px;align-items:start;margin-bottom:24px;padding-top:24px;border-top:1px solid var(--order-line)}
body.orders-page #details .order-items-section{margin:0;padding:0;border:0}
body.orders-page #details h3{font-size:17px;line-height:1.4;margin:0 0 18px;letter-spacing:-.02em}
body.orders-page #details .order-item{display:grid;grid-template-columns:90px minmax(0,1fr);gap:18px;padding:20px 0;margin:0;border:0;border-bottom:1px solid #e8edf1;border-radius:0;box-shadow:none;background:transparent}
body.orders-page #details .order-item:first-of-type{padding-top:0}
body.orders-page #details .order-item:last-child{border-bottom:0}
body.orders-page .order-item-product .order-photo-frame{aspect-ratio:1;border:0;border-radius:12px;background:#f0f3f6;box-shadow:none}
body.orders-page .order-item-product figcaption{display:none}
body.orders-page .order-item-body{min-width:0}
body.orders-page .order-item-heading{display:block;margin:0}
body.orders-page .order-item h4{font-size:16px;line-height:1.45;margin:0 0 4px}
body.orders-page .order-item-heading>strong{display:block;margin-top:10px;font-size:15px}
body.orders-page .order-item small{font-size:13px;line-height:1.6}
body.orders-page #details .order-item-media{display:block;max-width:180px;margin:10px 0}
body.orders-page .order-design-details{margin-top:10px;font-size:13px}
body.orders-page .order-design-details>summary,body.orders-page .order-contact-details>summary{color:#315474;font-size:13px;text-decoration:underline;text-underline-offset:3px;padding-block:10px;cursor:pointer;min-height:44px}
body.orders-page .order-return-policy>summary{color:#315474;font-size:14px;padding-block:12px;min-height:44px;cursor:pointer;text-decoration:underline;text-underline-offset:3px}
body.orders-page .order-receipt{background:var(--order-soft);border-radius:16px;padding:22px;min-width:0}
body.orders-page .order-receipt .item{padding:10px 0;font-size:14px;border-color:#dfe5eb;flex-wrap:nowrap}
body.orders-page .order-receipt .total{padding-top:14px;font-size:20px;margin-top:0;gap:12px}
body.orders-page .order-payment{color:var(--order-muted);font-size:13px;line-height:1.65;margin:12px 0 0}
body.orders-page .order-destination{margin-top:22px;padding-top:22px;border-top:1px solid #dbe2e8;overflow-wrap:anywhere}
body.orders-page #details .order-destination h3{font-size:15px;margin-bottom:10px}
body.orders-page .order-destination p,body.orders-page .order-destination a{font-size:14px;line-height:1.7;margin:8px 0}
body.orders-page .order-disclosure{padding:0;margin:0;border:0;border-top:1px solid var(--order-line);border-radius:0;background:transparent;box-shadow:none}
body.orders-page .order-disclosure>summary{display:flex;align-items:center;justify-content:space-between;gap:16px;list-style:none;cursor:pointer;padding:18px 0;min-height:56px;font-size:15px;font-weight:600;color:var(--order-ink)}
body.orders-page .order-disclosure>summary::-webkit-details-marker{display:none}
body.orders-page .order-disclosure>summary::after{content:'+';font-size:22px;font-weight:400;color:#60758b}
body.orders-page .order-disclosure[open]>summary::after{content:'−'}
body.orders-page .order-disclosure>p{font-size:14px;line-height:1.7;color:var(--order-muted);margin:0 0 18px}
body.orders-page .change-actions{margin-bottom:24px}
body.orders-page .change-actions>div{margin-bottom:18px}
body.orders-page #details .order-disclosure .section{border:0;margin:0;padding:8px 0 20px}
body.orders-page .order-disclosure .section p{font-size:14px;line-height:1.7}
body.orders-page .request-note{font-size:14px;line-height:1.7;border-radius:12px;box-shadow:none;margin-block:18px}
body.orders-page #orderSupport .customer-order-help{padding:0;margin:0;border:0;background:transparent;box-shadow:none}
body.orders-page .order-help-disclosure{margin-top:0}
body.orders-page .order-help-disclosure form{margin-bottom:18px}
body.orders-page #details .customer-proof{padding:20px;margin:20px 0;border:1px solid #c3d8cd;background:#f1f8f4;border-radius:14px}
body.orders-page #details .glass-tracking-timeline{margin-block:30px;max-width:100%;border-left:0;border-inline-start:2px solid #dce3ea;margin-inline-start:16px;padding:0}
body.orders-page #details .glass-tracking-timeline li{padding:0 0 24px 0;padding-inline-start:34px}
body.orders-page #details .tracking-node{left:auto;inset-inline-start:-17px;top:8px;box-shadow:0 0 0 6px white;width:32px;height:32px}
body.orders-page #details .tracking-content{padding:5px 0;background:transparent;border:0;border-radius:0;box-shadow:none}
body.orders-page #details .is-current .tracking-content{background:#f0f6f3;padding:14px 18px;border-radius:12px;margin-top:-7px}
body.orders-page #details .tracking-content h3{font-size:16px;margin-bottom:5px}
body.orders-page #details .tracking-content :is(time,p){font-size:13px}
body.orders-page #details .tracking-phase{font-size:12px;margin-bottom:3px}
body.orders-page #details .is-completed .tracking-phase{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
body.orders-page .tracking-provenance{font-size:12px;margin-block:0 22px}
body.orders-page #details .is-pending .tracking-content{opacity:.8}
body.orders-page #details :is(button,a,summary,input,textarea,select):focus-visible,body.orders-page #list button:focus-visible{outline:3px solid #547ea3;outline-offset:4px}
body.orders-page .empty{background:#fff;border:1px solid var(--order-line);border-radius:18px;padding:48px 24px}
body.orders-page .empty h2{color:var(--order-ink);font-size:24px}
@media(min-width:900px){body.orders-page .heading{max-width:850px;margin-inline:auto!important}}
@media(max-width:760px){
 body.orders-page.journey-page .main{width:calc(100% - 32px);padding-top:22px}
 body.orders-page.journey-page #details{padding:20px;border-radius:18px}
 body.orders-page.journey-page #list .order-btn{padding:20px;max-width:none;min-width:0;flex:initial}
 body.orders-page .order-row-top{align-items:start}
 body.orders-page .heading{column-gap:12px}
 body.orders-page .heading p{grid-column:1/-1;margin-top:8px}
 body.orders-page .heading #refresh{grid-row:1}
 body.orders-page .heading #refresh{font-size:12px;padding:9px 12px}
 body.orders-page .order-row-top .badge{max-width:140px;font-size:11px}
 body.orders-page .order-detail-grid{grid-template-columns:1fr;gap:20px}
 body.orders-page .order-detail-actions{flex-direction:row;align-items:center}
 body.orders-page .order-detail-actions p{width:100%}
 body.orders-page #details .summary{flex-direction:column;gap:12px}
 body.orders-page #details .order-item{grid-template-columns:72px minmax(0,1fr);gap:14px}
 body.orders-page .order-receipt{padding:20px}
 body.orders-page .order-detail-actions button{padding:11px 14px}
}
@media(prefers-reduced-motion:reduce){body.orders-page #list .order-btn{transition:none}}
