/* GAINVO Storefront v0.10.27 — Orders mobile stability refinement */

.screen[data-screen="orders"]{
  --orders-touch:48px;
  --orders-text-xs:.78rem;
  --orders-text-sm:.84rem;
  --orders-text-md:.94rem;
  --orders-title:clamp(1.55rem,5.6vw,2rem);
  padding-bottom:calc(98px + max(0px,var(--safe-bottom,0px)));
}
.screen[data-screen="orders"] .orders-native-head{
  display:flex;align-items:flex-end;justify-content:space-between;gap:16px;
  margin-bottom:16px;
}
.screen[data-screen="orders"] .orders-native-head .micro{font-size:.76rem!important;letter-spacing:.09em!important}
.screen[data-screen="orders"] .orders-native-head h1{font-size:var(--orders-title)!important;line-height:1.08!important;margin:3px 0 5px!important}
.screen[data-screen="orders"] .orders-native-head p{font-size:.9rem!important;line-height:1.45!important;max-width:600px;margin:0!important;color:var(--muted)}
.orders-refresh-button{
  min-width:var(--orders-touch);min-height:var(--orders-touch);height:var(--orders-touch);padding:0 14px;
  border:1px solid var(--line);border-radius:15px;background:#fff;color:var(--ink);
  display:inline-flex;align-items:center;justify-content:center;gap:8px;font:inherit;font-size:.84rem;font-weight:850;
  cursor:pointer;-webkit-tap-highlight-color:transparent;transition:transform .14s ease,background-color .14s ease,border-color .14s ease,opacity .14s ease;
}
.orders-refresh-button svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
.orders-refresh-button[aria-busy="true"] svg{animation:gainvo-orders-spin .8s linear infinite}
.orders-refresh-button:disabled{opacity:.62;cursor:wait}
@keyframes gainvo-orders-spin{to{transform:rotate(360deg)}}

/* Loading and summary — readable without turning the page into oversized dashboard cards. */
.screen[data-screen="orders"] .orders-loading{
  min-height:78px;padding:16px;border-radius:18px;gap:13px;font-size:var(--orders-text-sm);
}
.screen[data-screen="orders"] .orders-loading strong{font-size:.95rem!important;line-height:1.25}
.screen[data-screen="orders"] .orders-loading small{font-size:.78rem!important;line-height:1.4;margin-top:3px}
.screen[data-screen="orders"] .loading-ring{width:26px;height:26px;border-width:2.5px;flex:0 0 auto}
.screen[data-screen="orders"] .order-summary-strip{
  display:grid;grid-template-columns:repeat(4,minmax(112px,1fr));gap:9px;margin:2px 0 20px;
  overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x proximity;scrollbar-width:none;padding:1px 1px 4px;
}
.screen[data-screen="orders"] .order-summary-strip::-webkit-scrollbar{display:none}
.screen[data-screen="orders"] .order-summary-strip>div{
  min-height:72px;padding:11px 12px;border-radius:16px;scroll-snap-align:start;
}
.screen[data-screen="orders"] .order-summary-strip span{font-size:.76rem!important;line-height:1.2;white-space:normal!important;overflow:visible!important;text-overflow:clip!important;color:var(--muted)}
.screen[data-screen="orders"] .order-summary-strip strong{font-size:1.35rem!important;line-height:1.05;margin-top:7px}

/* Section headings. */
.screen[data-screen="orders"] .orders-group{margin-top:20px}
.screen[data-screen="orders"] .orders-group-head{align-items:center;margin:0 1px 11px;gap:12px}
.screen[data-screen="orders"] .orders-group-head .micro{font-size:.74rem!important;letter-spacing:.09em!important;margin-bottom:4px}
.screen[data-screen="orders"] .orders-group-head h2{font-size:1.08rem!important;line-height:1.2}
.screen[data-screen="orders"] .orders-group-head p{font-size:.8rem!important;line-height:1.45!important;margin-top:5px}
.screen[data-screen="orders"] .orders-group-head>span{min-width:32px;height:32px;padding:0 10px;font-size:.8rem!important}

/* Active order cards. */
.screen[data-screen="orders"] .orders-list{gap:13px}
.screen[data-screen="orders"] .customer-order-card.customer-order-card-v2{
  padding:15px;border-radius:20px;box-shadow:0 5px 18px rgba(18,54,86,.04);
}
.screen[data-screen="orders"] .customer-order-head{gap:12px;align-items:flex-start}
.screen[data-screen="orders"] .order-business-copy>.micro{font-size:.73rem!important;letter-spacing:.07em!important}
.screen[data-screen="orders"] .customer-order-head h3{font-size:1.06rem!important;line-height:1.24!important;margin:4px 0 3px!important}
.screen[data-screen="orders"] .customer-order-subtitle{font-size:.79rem!important;line-height:1.35!important;color:var(--muted)}
.screen[data-screen="orders"] .order-badge-row{margin-top:7px;gap:6px}
.screen[data-screen="orders"] .customer-payment-badge,
.screen[data-screen="orders"] .customer-order-status{
  min-height:30px;display:inline-flex;align-items:center;padding:6px 10px!important;border-radius:999px;
  font-size:.75rem!important;line-height:1.15!important;font-weight:850;white-space:nowrap;
}

/* A glanceable progress tracker. On phones it scrolls instead of shrinking labels. */
.screen[data-screen="orders"] .order-timeline{
  position:relative!important;display:grid!important;grid-auto-flow:column!important;grid-auto-columns:minmax(76px,1fr)!important;
  grid-template-columns:none!important;gap:0!important;overflow-x:auto!important;overscroll-behavior-x:contain;scroll-snap-type:x proximity;
  padding:15px 2px 10px!important;margin:15px 0 16px!important;scrollbar-width:none;
}
.screen[data-screen="orders"] .order-timeline::-webkit-scrollbar{display:none}
.screen[data-screen="orders"] .order-step{min-width:76px!important;width:auto!important;display:grid;justify-items:center;align-content:start;text-align:center;gap:7px;scroll-snap-align:start;position:relative}
.screen[data-screen="orders"] .order-step:not(:last-child)::after{content:"";position:absolute;top:14px;left:50%;width:100%;height:2px;background:#dce6ec;z-index:0}
.screen[data-screen="orders"] .order-step.done:not(:last-child)::after{background:#16a98f}
.screen[data-screen="orders"] .order-step-dot{position:relative;z-index:1;width:30px!important;height:30px!important;display:grid;place-items:center;border-radius:999px;font-size:.75rem!important;background:#edf2f5;color:#6d8293;border:2px solid #dce6ec}
.screen[data-screen="orders"] .order-step.done .order-step-dot{background:#11a88f;border-color:#11a88f;color:#fff}
.screen[data-screen="orders"] .order-step.current .order-step-dot{background:#fff;border-color:#11a88f;box-shadow:0 0 0 4px rgba(17,168,143,.12)}
.screen[data-screen="orders"] .order-step strong{font-size:.73rem!important;line-height:1.22!important;white-space:normal!important;max-width:74px!important;color:#607488}
.screen[data-screen="orders"] .order-step.done strong,.screen[data-screen="orders"] .order-step.current strong{color:var(--ink)}
.screen[data-screen="orders"] .order-step small{font-size:.68rem!important;line-height:1.25!important;color:var(--muted);max-width:75px}

.screen[data-screen="orders"] .customer-order-lines{margin:12px 0;padding:7px 0;border-color:var(--line);gap:0}
.screen[data-screen="orders"] .customer-order-lines>div{padding:7px 0!important;font-size:.84rem!important;line-height:1.35;align-items:flex-start}
.screen[data-screen="orders"] .customer-order-lines>div span{min-width:0;padding-right:12px}
.screen[data-screen="orders"] .customer-order-lines b{color:#4f687d}
.screen[data-screen="orders"] .customer-order-lines strong{white-space:nowrap;font-size:.85rem}
.screen[data-screen="orders"] .customer-order-total{padding:10px 0 2px;align-items:flex-end}
.screen[data-screen="orders"] .customer-order-total span{font-size:.8rem!important;color:var(--muted)}
.screen[data-screen="orders"] .customer-order-total strong{font-size:1.28rem!important;line-height:1}
.screen[data-screen="orders"] .customer-order-help{font-size:.81rem!important;line-height:1.48!important;padding:10px 11px;margin-top:10px}

/* Payment / handover actions are decisive and thumb-friendly. */
.screen[data-screen="orders"] .customer-pay-panel{padding:12px;border-radius:16px;gap:11px;align-items:center}
.screen[data-screen="orders"] .customer-pay-panel>div strong{font-size:.9rem!important;line-height:1.25}
.screen[data-screen="orders"] .customer-pay-panel p{font-size:.78rem!important;line-height:1.4!important;margin-top:3px}
.screen[data-screen="orders"] .customer-pay-email{font-size:.82rem!important;line-height:1.3}
.screen[data-screen="orders"] .customer-pay-email input{min-height:48px;font-size:16px!important;border-radius:13px;padding:11px 12px}
.screen[data-screen="orders"] .customer-pay-button,
.screen[data-screen="orders"] .order-complete-button,
.screen[data-screen="orders"] .post-purchase-actions .primary-cta,
.screen[data-screen="orders"] .post-purchase-actions .secondary-cta,
.screen[data-screen="orders"] .orders-empty .primary-cta{
  min-height:48px!important;padding:11px 15px!important;border-radius:14px!important;font-size:.86rem!important;line-height:1.2!important;
}
.screen[data-screen="orders"] .order-handover-card{padding:13px;border-radius:17px;gap:12px}
.screen[data-screen="orders"] .order-handover-card .micro{font-size:.72rem!important}
.screen[data-screen="orders"] .order-handover-card strong{font-size:.9rem!important;line-height:1.3}
.screen[data-screen="orders"] .order-handover-card p{font-size:.78rem!important;line-height:1.45!important;margin-top:4px}

/* Payment confirmation banner. */
.screen[data-screen="orders"] .order-confirmation-banner{grid-template-columns:42px minmax(0,1fr);gap:11px;padding:13px;border-radius:18px;margin:0 0 10px}
.screen[data-screen="orders"] .confirmation-check{width:42px;height:42px;border-radius:13px;font-size:1.1rem}
.screen[data-screen="orders"] .order-confirmation-banner .micro{font-size:.72rem!important}
.screen[data-screen="orders"] .order-confirmation-banner h2{font-size:1rem!important;line-height:1.25!important;margin:3px 0}
.screen[data-screen="orders"] .order-confirmation-banner p{font-size:.79rem!important;line-height:1.42!important}

/* Order history accordion. */
.screen[data-screen="orders"] .orders-history-list{gap:9px}
.screen[data-screen="orders"] .order-history-card{border-radius:17px}
.screen[data-screen="orders"] .order-history-toggle{min-height:82px;padding:12px;gap:10px}
.screen[data-screen="orders"] .history-order-leading{gap:11px}
.screen[data-screen="orders"] .history-order-state{width:38px;height:38px;flex-basis:38px;border-radius:12px;font-size:.9rem}
.screen[data-screen="orders"] .history-order-copy .micro{font-size:.7rem!important;letter-spacing:.07em!important}
.screen[data-screen="orders"] .history-order-copy strong{font-size:.91rem!important;line-height:1.25!important;margin:4px 0 3px}
.screen[data-screen="orders"] .history-order-copy small{font-size:.75rem!important;line-height:1.35!important;white-space:normal!important}
.screen[data-screen="orders"] .history-order-meta{grid-template-columns:auto 24px;column-gap:8px}
.screen[data-screen="orders"] .history-order-meta>strong{font-size:.92rem!important;line-height:1.2}
.screen[data-screen="orders"] .history-status{font-size:.7rem!important;padding:4px 7px!important;line-height:1.1}
.screen[data-screen="orders"] .history-chevron{width:24px;height:24px;display:grid;place-items:center;font-size:1rem}
.screen[data-screen="orders"] .order-history-detail{padding:0 12px 13px}
.screen[data-screen="orders"] .history-detail-summary{font-size:.8rem!important;line-height:1.4!important;padding:10px 0}
.screen[data-screen="orders"] .history-detail-summary strong{font-size:.9rem!important}
.screen[data-screen="orders"] .post-purchase-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}

/* Transaction history. */
.screen[data-screen="orders"] .order-history{margin-top:12px;padding:12px;border-radius:15px}
.screen[data-screen="orders"] .order-history-head .micro{font-size:.71rem!important;letter-spacing:.07em!important}
.screen[data-screen="orders"] .order-history-head>strong{font-size:.75rem!important}
.screen[data-screen="orders"] .order-history-list{gap:0}
.screen[data-screen="orders"] .order-history-row{grid-template-columns:30px minmax(0,1fr) auto;gap:9px;min-height:55px;padding:7px 0}
.screen[data-screen="orders"] .order-history-dot{width:28px;height:28px;font-size:.7rem}
.screen[data-screen="orders"] .order-history-row>div strong{font-size:.82rem!important;line-height:1.3}
.screen[data-screen="orders"] .order-history-row>div small{font-size:.73rem!important;line-height:1.35!important;margin-top:2px}
.screen[data-screen="orders"] .order-history-row time{font-size:.7rem!important;line-height:1.3;color:var(--muted);white-space:nowrap}

/* Empty state and receipt are part of the Orders journey. */
.screen[data-screen="orders"] .orders-empty{padding:32px 18px;border-radius:20px;text-align:center}
.screen[data-screen="orders"] .orders-empty .empty-icon{width:52px;height:52px;font-size:1.35rem;margin:0 auto 12px}
.screen[data-screen="orders"] .orders-empty h2{font-size:1.2rem!important;line-height:1.2}
.screen[data-screen="orders"] .orders-empty p{font-size:.86rem!important;line-height:1.5!important;max-width:480px;margin:8px auto 16px}
.order-receipt-sheet .gainvo-receipt{font-size:.88rem}
.order-receipt-sheet .receipt-brand .micro{font-size:.72rem!important}
.order-receipt-sheet .receipt-brand h3{font-size:1.08rem!important;line-height:1.25}
.order-receipt-sheet .receipt-meta span{font-size:.72rem!important}.order-receipt-sheet .receipt-meta strong{font-size:.84rem!important;line-height:1.3}
.order-receipt-sheet .receipt-lines>div{font-size:.84rem!important;line-height:1.4;padding:8px 0}
.order-receipt-sheet .receipt-total span{font-size:.82rem!important}.order-receipt-sheet .receipt-total strong{font-size:1.25rem!important}
.order-receipt-sheet .receipt-payment strong{font-size:.86rem!important}.order-receipt-sheet .receipt-payment small{font-size:.74rem!important;line-height:1.35}
.order-receipt-sheet .receipt-note{font-size:.77rem!important;line-height:1.45!important}

@media (hover:none){
  .orders-refresh-button:active,
  .screen[data-screen="orders"] .order-history-toggle:active,
  .screen[data-screen="orders"] .customer-pay-button:active,
  .screen[data-screen="orders"] .order-complete-button:active,
  .screen[data-screen="orders"] .post-purchase-actions button:active{transform:scale(.98)}
}

@media (max-width:620px){
  .screen[data-screen="orders"] .orders-native-head{align-items:flex-start;margin-bottom:14px}
  .orders-refresh-button{width:48px;padding:0;flex:0 0 48px}.orders-refresh-button span{display:none}
  .screen[data-screen="orders"] .order-summary-strip{grid-template-columns:none;grid-auto-flow:column;grid-auto-columns:minmax(116px,36vw)}
  .screen[data-screen="orders"] .customer-order-head{display:grid;grid-template-columns:minmax(0,1fr);gap:8px}
  .screen[data-screen="orders"] .customer-order-status{justify-self:start}
  .screen[data-screen="orders"] .customer-pay-panel{grid-template-columns:1fr!important}
  .screen[data-screen="orders"] .customer-pay-button{width:100%}
  .screen[data-screen="orders"] .order-handover-card{grid-template-columns:1fr!important}
  .screen[data-screen="orders"] .order-complete-button{width:100%}
  .screen[data-screen="orders"] .post-purchase-actions{display:grid;grid-template-columns:1fr 1fr}
}
@media (max-width:390px){
  .screen[data-screen="orders"] .order-summary-strip{grid-auto-columns:minmax(112px,43vw)}
  .screen[data-screen="orders"] .history-order-state{width:34px;height:34px;flex-basis:34px}
  .screen[data-screen="orders"] .history-order-meta{grid-template-columns:auto 22px}
  .screen[data-screen="orders"] .post-purchase-actions{grid-template-columns:1fr}
  .screen[data-screen="orders"] .order-history-row{grid-template-columns:28px minmax(0,1fr)}
  .screen[data-screen="orders"] .order-history-row time{grid-column:2;white-space:normal;margin-top:-2px}
}
@media (min-width:760px){
  .screen[data-screen="orders"]{max-width:1000px;margin-inline:auto}
  .screen[data-screen="orders"] .customer-order-card.customer-order-card-v2{padding:18px}
  .screen[data-screen="orders"] .order-timeline{grid-auto-flow:unset!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;overflow:visible!important}
  .screen[data-screen="orders"] .order-step{min-width:0!important}
  .screen[data-screen="orders"] .order-step strong{max-width:100px!important}
}

html[data-theme="dark"] .orders-refresh-button{background:#12212b;border-color:#2d414d;color:#eef5f8}
html[data-theme="dark"] .screen[data-screen="orders"] .order-summary-strip>div,
html[data-theme="dark"] .screen[data-screen="orders"] .customer-order-card.customer-order-card-v2,
html[data-theme="dark"] .screen[data-screen="orders"] .order-history-card{background:#101d26!important;border-color:#2b3e49!important;color:#edf5f8}
html[data-theme="dark"] .screen[data-screen="orders"] .order-step-dot{background:#172832;border-color:#344955;color:#9dafba}
html[data-theme="dark"] .screen[data-screen="orders"] .order-step:not(:last-child)::after{background:#344955}
html[data-theme="dark"] .screen[data-screen="orders"] .order-step.done:not(:last-child)::after{background:#25b79f}
html[data-theme="dark"] .screen[data-screen="orders"] .order-step.current .order-step-dot{background:#101d26;border-color:#25b79f;box-shadow:0 0 0 4px rgba(37,183,159,.13)}
html[data-theme="dark"] .screen[data-screen="orders"] .order-step.done .order-step-dot{background:#149b84;border-color:#149b84;color:#fff}
html[data-theme="dark"] .screen[data-screen="orders"] .order-step.done strong,
html[data-theme="dark"] .screen[data-screen="orders"] .order-step.current strong{color:#eef5f8}
html[data-theme="dark"] .screen[data-screen="orders"] .customer-order-lines{border-color:#2b3e49}
html[data-theme="dark"] .screen[data-screen="orders"] .history-order-copy strong,
html[data-theme="dark"] .screen[data-screen="orders"] .orders-group-head h2{color:#eef5f8!important}

@media (prefers-reduced-motion:reduce){
  .orders-refresh-button{transition:none!important}.orders-refresh-button[aria-busy="true"] svg{animation-duration:1.5s}
}


/* v0.10.26 — mobile Orders card containment and five-stage timeline refinement */
.screen[data-screen="orders"],
.screen[data-screen="orders"] #ordersList,
.screen[data-screen="orders"] .orders-stack,
.screen[data-screen="orders"] .orders-list,
.screen[data-screen="orders"] .active-order-card,
.screen[data-screen="orders"] .customer-order-card-v2{
  width:100%;max-width:100%;min-width:0;box-sizing:border-box;
}
.screen[data-screen="orders"] .customer-order-card-v2{overflow:hidden}
.screen[data-screen="orders"] .order-business-copy,
.screen[data-screen="orders"] .order-state-row,
.screen[data-screen="orders"] .customer-order-lines,
.screen[data-screen="orders"] .customer-order-total,
.screen[data-screen="orders"] .customer-order-help{min-width:0;max-width:100%}
.screen[data-screen="orders"] .order-state-row{display:flex;align-items:center;flex-wrap:wrap;gap:7px;margin-top:9px}
.screen[data-screen="orders"] .order-state-row .order-badge-row{margin:0}
.screen[data-screen="orders"] .order-state-row .customer-order-status{margin:0;justify-self:auto}
.screen[data-screen="orders"] .customer-order-lines>div{display:grid!important;grid-template-columns:minmax(0,1fr) auto;gap:10px;width:100%}
.screen[data-screen="orders"] .customer-order-lines>div span{overflow-wrap:anywhere;word-break:normal}
.screen[data-screen="orders"] .customer-order-total{display:grid!important;grid-template-columns:minmax(0,1fr) auto;gap:12px;width:100%;align-items:end}
.screen[data-screen="orders"] .customer-order-total strong{justify-self:end;white-space:nowrap}
.screen[data-screen="orders"] .customer-order-help{white-space:normal!important;overflow-wrap:anywhere;word-break:normal}

@media (max-width:620px){
  .screen[data-screen="orders"] .customer-order-card.customer-order-card-v2{padding:13px!important;border-radius:18px}
  .screen[data-screen="orders"] .customer-order-head{display:block!important}
  .screen[data-screen="orders"] .customer-order-head h3{font-size:1.02rem!important;margin-top:3px!important}
  .screen[data-screen="orders"] .customer-order-subtitle{font-size:.78rem!important;margin-bottom:0}
  .screen[data-screen="orders"] .order-state-row{gap:6px;margin-top:8px}
  .screen[data-screen="orders"] .customer-payment-badge,
  .screen[data-screen="orders"] .customer-order-status{min-height:28px;padding:5px 9px!important;font-size:.72rem!important}

  /* All five fulfilment stages remain visible on a phone; no horizontal overflow. */
  .screen[data-screen="orders"] .order-timeline{
    display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;grid-auto-flow:unset!important;grid-auto-columns:auto!important;
    width:100%!important;max-width:100%!important;overflow:hidden!important;scroll-snap-type:none!important;
    padding:12px 0 8px!important;margin:13px 0 14px!important;border-radius:14px;
  }
  .screen[data-screen="orders"] .order-step{min-width:0!important;width:auto!important;gap:5px;padding:0 1px}
  .screen[data-screen="orders"] .order-step:not(:last-child)::after{top:13px;left:50%;width:100%;height:2px}
  .screen[data-screen="orders"] .order-step-dot{width:28px!important;height:28px!important;font-size:.7rem!important;border-width:2px}
  .screen[data-screen="orders"] .order-step strong{font-size:.67rem!important;line-height:1.13!important;max-width:60px!important;white-space:normal!important;overflow-wrap:anywhere}
  .screen[data-screen="orders"] .order-step small{display:none!important}

  .screen[data-screen="orders"] .customer-order-lines{margin:10px 0;padding:7px 0}
  .screen[data-screen="orders"] .customer-order-lines>div{padding:6px 0!important;font-size:.82rem!important}
  .screen[data-screen="orders"] .customer-order-total{padding:9px 0 1px}
  .screen[data-screen="orders"] .customer-order-total span{font-size:.78rem!important}
  .screen[data-screen="orders"] .customer-order-total strong{font-size:1.18rem!important}
  .screen[data-screen="orders"] .customer-order-help{font-size:.79rem!important;line-height:1.42!important;padding:9px 10px;margin-top:9px}
}
@media (max-width:360px){
  .screen[data-screen="orders"] .customer-order-card.customer-order-card-v2{padding:12px!important}
  .screen[data-screen="orders"] .order-step-dot{width:25px!important;height:25px!important}
  .screen[data-screen="orders"] .order-step:not(:last-child)::after{top:12px}
  .screen[data-screen="orders"] .order-step strong{font-size:.62rem!important;max-width:54px!important}
  .screen[data-screen="orders"] .customer-order-lines>div{font-size:.79rem!important}
}


/* v0.10.27 — stable mobile order card geometry (no reflow/shake) */
.screen[data-screen="orders"]{
  overflow-x:hidden;
  scroll-anchor:none;
}
.screen[data-screen="orders"] #ordersList,
.screen[data-screen="orders"] .orders-group,
.screen[data-screen="orders"] .orders-list,
.screen[data-screen="orders"] .active-order-card{
  min-width:0;
  max-width:100%;
}
.screen[data-screen="orders"] .orders-list{
  align-items:start;
}
.screen[data-screen="orders"] .active-order-card{
  position:relative;
  isolation:isolate;
  overflow:hidden;
  contain:layout paint;
}
.screen[data-screen="orders"] .order-timeline{
  box-sizing:border-box;
  min-height:108px;
  align-items:start;
  contain:layout paint;
}
.screen[data-screen="orders"] .order-step{
  grid-template-rows:30px 34px;
  align-content:start;
}
.screen[data-screen="orders"] .order-step>div{
  width:100%;
  min-width:0;
  min-height:34px;
  display:flex;
  align-items:flex-start;
  justify-content:center;
}
.screen[data-screen="orders"] .order-step strong{
  display:block;
  width:100%;
  text-align:center;
}
.screen[data-screen="orders"] .customer-order-lines,
.screen[data-screen="orders"] .customer-order-total,
.screen[data-screen="orders"] .customer-order-help{
  position:relative;
  z-index:1;
}
@media (max-width:620px){
  .screen[data-screen="orders"] .orders-group{margin-top:14px}
  .screen[data-screen="orders"] .orders-group-head{margin-bottom:8px}
  .screen[data-screen="orders"] .customer-order-card.customer-order-card-v2{
    padding:14px!important;
    border-radius:18px;
    box-shadow:0 3px 12px rgba(18,54,86,.045);
  }
  .screen[data-screen="orders"] .order-timeline{
    min-height:104px;
    height:104px;
    padding:12px 3px 8px!important;
    margin:12px 0 13px!important;
  }
  .screen[data-screen="orders"] .order-step{
    grid-template-rows:28px 34px;
    gap:6px;
  }
  .screen[data-screen="orders"] .order-step>div{min-height:34px}
  .screen[data-screen="orders"] .order-step strong{
    max-width:none!important;
    padding:0 1px;
    font-size:.62rem!important;
    line-height:1.08!important;
    white-space:nowrap!important;
    overflow:visible!important;
    overflow-wrap:normal!important;
    word-break:normal!important;
  }
  .screen[data-screen="orders"] .order-step-dot{
    width:27px!important;
    height:27px!important;
  }
  .screen[data-screen="orders"] .order-step:not(:last-child)::after{top:12.5px}
  .screen[data-screen="orders"] .customer-order-lines{margin:9px 0}
  .screen[data-screen="orders"] .customer-order-help{margin-bottom:0}
}
@media (max-width:360px){
  .screen[data-screen="orders"] .order-timeline{height:100px;min-height:100px}
  .screen[data-screen="orders"] .order-step strong{font-size:.57rem!important;letter-spacing:-.01em}
  .screen[data-screen="orders"] .order-step-dot{width:25px!important;height:25px!important}
}
