/* Order-only components: catalogue cards and manager dashboard are unaffected. */
.order-mini-items{display:grid;gap:10px;margin-top:16px;text-align:left}
.order-mini-item{display:flex;gap:10px;align-items:center;font-size:13px;line-height:1.4;min-width:0}
.order-mini-item>span{overflow-wrap:anywhere;min-width:0}
.order-mini-item small{font-size:12px!important;margin-top:3px!important;color:var(--shop-muted)}
.order-photo{margin:0;min-width:0}
.order-photo-frame{display:grid;place-items:center;overflow:hidden;aspect-ratio:4/3;border:1px solid var(--qs-glass-line);border-radius:16px;background:var(--qs-metal);box-shadow:inset 0 1px 0 var(--qs-rim)}
.order-photo-frame img{display:block;width:100%;height:100%;object-fit:contain;background:#ffffffaa}
.order-photo-fallback{padding:16px;text-align:center;color:var(--shop-muted);font-size:13px;line-height:1.5}
.order-photo figcaption{font-size:13px;color:var(--shop-muted);padding-top:8px}
.order-photo.compact{width:48px;flex:0 0 48px}
.order-photo.compact .order-photo-frame{aspect-ratio:1;border-radius:10px}
.order-photo.compact .order-photo-fallback{padding:3px;font-size:9px;line-height:1.2}
.order-more{font-size:12px;color:var(--shop-muted)}
.return-item-selection{margin:8px 0;border:1px solid var(--qs-glass-line);border-radius:16px;padding:16px;display:grid;gap:14px}
.return-item-selection legend{font-weight:650;font-size:14px;padding:0 6px}
.return-item-selection small{display:block;font-weight:400;margin-top:4px}
.order-progress-details,.order-history-details{margin-top:20px}
.order-progress-details>summary,.order-history-details>summary{cursor:pointer;font-size:15px;font-weight:650;min-height:44px;padding:12px 0;color:var(--shop-ink)}
.order-history-details .timeline{margin-top:16px}
.order-item{padding:22px;margin:0 0 16px;border:1px solid var(--qs-glass-line);border-radius:20px;background:var(--qs-glass);box-shadow:var(--qs-glass-shadow)}
.order-item-heading{display:flex;justify-content:space-between;gap:16px;margin-bottom:18px;align-items:start}
.order-item h4{margin:0 0 6px;font-size:18px;line-height:1.4;overflow-wrap:anywhere}
.order-item small{display:block;color:var(--shop-muted);font-size:13px;margin-top:5px}
.order-item-heading>strong{white-space:nowrap;font-size:15px}
.order-item-media{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;align-items:start}
.order-upload-note{font-size:13px;color:var(--shop-muted);margin:0;padding:16px;border:1px dashed var(--qs-glass-line);border-radius:16px}
.order-item .text-btn{display:inline-flex;align-items:center;min-height:44px;margin-top:12px;padding:9px 16px;border:1px solid var(--qs-glass-line);border-radius:24px;background:var(--qs-metal);color:var(--shop-ink);font:inherit;font-size:13px;font-weight:650}
.journey-page .details .summary{padding:24px;border:1px solid var(--qs-glass-line);border-radius:20px;background:var(--qs-metal);box-shadow:var(--qs-glass-shadow)}
.journey-page .tracking-stages{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:24px 0}
.journey-page .tracking-stages li{border:1px solid var(--qs-glass-line);border-radius:16px;padding:16px;background:var(--qs-glass);color:var(--shop-muted);box-shadow:inset 0 1px 0 var(--qs-rim)}
.stage-number{display:grid;place-items:center;width:30px;height:30px;margin-bottom:10px;border:1px solid var(--qs-glass-line);border-radius:50%;font-size:13px;font-weight:700;background:var(--qs-metal);color:var(--shop-ink)}
.journey-page .tracking-stages .done{color:var(--shop-ink)}
.journey-page .tracking-stages .done .stage-number{border-color:var(--shop-accent)}
.journey-page .tracking-stages .current{background:var(--qs-dark-surface);color:white;border-color:var(--shop-ink);box-shadow:0 8px 20px #17243718}
.journey-page .tracking-stages .current .stage-number{background:var(--shop-accent);border-color:var(--shop-accent)}
.journey-page .tracking-stages strong{font-size:14px}
.journey-page .timeline{border-color:var(--qs-glass-line)}
.journey-page .timeline li{margin-bottom:12px;padding:16px 18px;border:1px solid var(--qs-glass-line);border-radius:16px;background:var(--qs-glass);box-shadow:inset 0 1px 0 var(--qs-rim)}
.journey-page .timeline li:last-child{padding-bottom:16px}
.journey-page .timeline li:before{top:24px}
.journey-page .order-btn{transition:background .2s,box-shadow .2s;overflow-wrap:anywhere}
.journey-page .account-order>span:first-child{flex:1;min-width:0}
.journey-page .account-order .order-status{flex:0 0 auto;max-width:120px}
@media(max-width:760px){
 .journey-page .tracking-stages{grid-template-columns:repeat(2,minmax(0,1fr))}
 .journey-page .list{scroll-snap-type:x proximity}
 .journey-page .order-btn{min-width:260px;max-width:290px;flex:0 0 260px;scroll-snap-align:start}
 .journey-page .details .summary{padding:20px}
 .order-item{padding:16px}.order-item h4{font-size:16px}
 .order-item-heading{flex-wrap:wrap;gap:8px}.order-item-media{gap:12px}
 .order-photo-fallback{padding:10px;font-size:12px}
 .journey-page .account-order{flex-wrap:wrap}.journey-page .account-order .order-status{max-width:none}
}
@media(prefers-reduced-motion:reduce){.journey-page .order-btn{transition:none}}

.summary h2,.order-history-card strong,.account-order strong{overflow-wrap:anywhere}
