:root{
  --navy:#152238; --navy-2:#1B2942; --navy-3:#223252;
  --orange:#E8722C; --orange-deep:#C85E1F;
  --slate:#94A3B8; --bronze:#A15B38;
  --paper:#F8FAFC; --ink:#152238; --muted:#5A6A80;
  --line:rgba(148,163,184,.18); --line-light:rgba(21,34,56,.10);
  --ok:#16A34A; --warn:#D97706;
  --font-display:'Plus Jakarta Sans',system-ui,-apple-system,sans-serif;
  --font-body:'Inter',system-ui,-apple-system,sans-serif;
  --font-mono:'JetBrains Mono',ui-monospace,'SF Mono',monospace;
}
*{margin:0;padding:0;box-sizing:border-box}
body{font-family:var(--font-body);background:var(--paper);color:var(--ink);line-height:1.6;-webkit-font-smoothing:antialiased}
a{color:inherit;text-decoration:none}
::selection{background:var(--orange);color:#fff}
:focus-visible{outline:2px solid var(--orange);outline-offset:3px;border-radius:6px}
img,svg{display:block}

.wrap{max-width:1080px;margin:0 auto;padding:0 20px}
.narrow{max-width:520px;margin:0 auto;padding:0 20px}
.mono{font-family:var(--font-mono);letter-spacing:.06em}

/* ---------- top bar ---------- */
.topbar{background:var(--navy);color:#fff;position:sticky;top:0;z-index:40;border-bottom:1px solid var(--line)}
.topbar .row{display:flex;align-items:center;gap:16px;height:62px}
.brand{display:flex;align-items:center;gap:10px;font-family:var(--font-display);font-weight:800;font-style:italic;font-size:19px;letter-spacing:-.01em}
.brand .bars{display:flex;flex-direction:column;gap:3px;transform:skewX(-12deg)}
.brand .bars i{display:block;height:4.5px;width:23px;border-radius:3px}
.brand .bars i:nth-child(1){background:var(--orange);margin-left:7px}
.brand .bars i:nth-child(2){background:var(--slate)}
.brand .bars i:nth-child(3){background:var(--bronze);margin-left:3px}
.brand b{color:#fff}.brand span{color:var(--orange)}
.topnav{margin-left:auto;display:flex;align-items:center;gap:20px;font-size:14.5px;font-weight:500;color:var(--slate)}
.topnav a:hover{color:#fff}

/* ---------- buttons ---------- */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;font-family:var(--font-display);font-weight:700;font-size:15px;border-radius:10px;padding:13px 22px;border:0;cursor:pointer;transition:background .15s ease,transform .15s ease}
.btn:active{transform:scale(.985)}
.btn-orange{background:var(--orange);color:#fff}
.btn-orange:hover{background:var(--orange-deep)}
.btn-dark{background:var(--navy);color:#fff}
.btn-dark:hover{background:var(--navy-3)}
.btn-quiet{background:transparent;color:var(--ink);border:1px solid var(--line-light)}
.btn-quiet:hover{border-color:var(--ink)}
.btn-sm{padding:9px 16px;font-size:14px}
.btn-block{width:100%}

/* ---------- cards / forms ---------- */
.card{background:#fff;border:1px solid var(--line-light);border-radius:14px;padding:26px}
.card+.card{margin-top:18px}
h1.page{font-family:var(--font-display);font-weight:800;font-size:clamp(26px,5vw,36px);letter-spacing:-.02em;line-height:1.12}
h2.sec{font-family:var(--font-display);font-weight:800;font-size:19px;letter-spacing:-.01em;margin-bottom:4px}
.hint{color:var(--muted);font-size:14.5px}
.eyebrow{font-family:var(--font-mono);font-size:11px;letter-spacing:.2em;text-transform:uppercase;color:var(--orange-deep)}

.grid2{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.grid3{display:grid;grid-template-columns:1fr 1fr 1fr;gap:14px}
.field{display:flex;flex-direction:column;gap:6px;margin-bottom:14px}
.field label{font-family:var(--font-mono);font-size:10.5px;letter-spacing:.14em;text-transform:uppercase;color:var(--muted)}
.field input,.field select,.field textarea{
  font-family:var(--font-body);font-size:16px;padding:13px 14px;
  border:1px solid rgba(21,34,56,.18);border-radius:10px;background:#fff;color:var(--ink);width:100%
}
.field textarea{min-height:88px;resize:vertical}
.field input:focus,.field select:focus,.field textarea:focus{border-color:var(--orange);outline:2px solid rgba(232,114,44,.25);outline-offset:0}
.field .sub{font-size:12.5px;color:var(--muted)}

.alert{border-radius:10px;padding:13px 16px;font-size:14.5px;margin-bottom:18px}
.alert-err{background:#FEF2F2;border:1px solid #FECACA;color:#991B1B}
.alert-ok{background:#F0FDF4;border:1px solid #BBF7D0;color:#166534}

/* ---------- status badges ---------- */
.badge{display:inline-block;font-family:var(--font-mono);font-size:10.5px;letter-spacing:.12em;text-transform:uppercase;padding:5px 11px;border-radius:99px;white-space:nowrap}
.badge-sched{background:#EEF2F7;color:#475569}
.badge-move{background:#FFF1E7;color:var(--orange-deep)}
.badge-done{background:#F0FDF4;color:#166534}

/* ---------- timeline ---------- */
.timeline{display:flex;flex-direction:column}
.tl{display:flex;gap:14px;position:relative;padding-bottom:20px}
.tl:last-child{padding-bottom:0}
.tl::before{content:"";position:absolute;left:7px;top:19px;bottom:0;width:2px;background:var(--line-light)}
.tl:last-child::before{display:none}
.tl .pip{width:16px;height:16px;border-radius:50%;background:#fff;border:4px solid var(--orange);flex:none;margin-top:2px}
.tl.pending .pip{border-color:rgba(21,34,56,.16)}
.tl b{font-size:14.5px;display:block;font-weight:600}
.tl span{font-family:var(--font-mono);font-size:11.5px;color:var(--muted)}
.tl.pending b{color:#93A2B5;font-weight:500}

/* ---------- shipment rows ---------- */
.ship{display:block;background:#fff;border:1px solid var(--line-light);border-radius:14px;padding:18px 20px;margin-bottom:12px;transition:border-color .15s ease}
.ship:hover{border-color:var(--orange)}
.ship .top{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-bottom:8px}
.ship .tid{font-family:var(--font-mono);font-size:13px;font-weight:500}
.ship .meta{font-size:13.5px;color:var(--muted)}
.ship .route{display:flex;align-items:center;gap:8px;margin-top:10px;font-size:13.5px}
.ship .route .arw{color:var(--orange);font-weight:700}

/* ---------- step progress ---------- */
.steps{display:flex;gap:6px;margin-bottom:24px}
.steps div{flex:1;height:4px;border-radius:3px;background:var(--line-light)}
.steps div.on{background:var(--orange)}
.steplabel{font-family:var(--font-mono);font-size:11px;letter-spacing:.16em;text-transform:uppercase;color:var(--muted);margin-bottom:8px}

/* ---------- empty state ---------- */
.empty{text-align:center;padding:46px 20px}
.empty h3{font-family:var(--font-display);font-weight:800;font-size:19px;margin-bottom:6px}
.empty p{color:var(--muted);font-size:14.5px;margin-bottom:20px}

/* ---------- footer ---------- */
.foot{border-top:1px solid var(--line-light);margin-top:56px;padding:30px 0;font-size:13px;color:var(--muted)}
.foot .row{display:flex;justify-content:space-between;gap:16px;flex-wrap:wrap}

.section{padding:34px 0}
.stack-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;flex-wrap:wrap;margin-bottom:22px}

/* ---------- MOBILE ---------- */
@media (max-width:720px){
  .grid2,.grid3{grid-template-columns:1fr}
  .topnav{gap:14px;font-size:14px}
  .topnav .hide-sm{display:none}
  .card{padding:20px;border-radius:12px}
  .section{padding:24px 0}
  .stack-head{flex-direction:column;gap:12px}
  .stack-head .btn{width:100%}
  h1.page{font-size:26px}
  .ship{padding:16px}
  /* sticky action bar on booking screens */
  .sticky-actions{position:sticky;bottom:0;background:var(--paper);padding:14px 0 18px;border-top:1px solid var(--line-light);margin-top:8px}
  .sticky-actions .btn{width:100%}
  .sticky-actions .btn+.btn{margin-top:10px}
}
@media (prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}}

/* ---------- item builder (booking step 2) ----------
   Sized for big fingers and tired eyes: every control is at least 52px tall,
   nothing relies on colour alone, and the running total is the largest thing
   on the screen. */

.pick-label{font-size:16px;font-weight:600;margin-bottom:8px;display:block}
.bld select{
  width:100%;font-family:var(--font-body);font-size:17px;
  padding:16px 44px 16px 16px;border:2px solid rgba(21,34,56,.18);border-radius:12px;
  background:#fff;color:var(--ink);appearance:none;
  background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1l6 6 6-6' stroke='%23152238' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat:no-repeat;background-position:right 16px center
}
.bld select:focus{border-color:var(--orange);outline:3px solid rgba(232,114,44,.2)}

/* how many — one clear row */
.howmany{display:flex;align-items:center;justify-content:space-between;gap:16px;
  margin-top:18px;padding:8px 0}
.howmany .cap{font-size:16px;font-weight:600}
.qty{display:flex;align-items:center;gap:6px;flex:none}
.qty button{width:52px;height:52px;border:2px solid rgba(21,34,56,.16);background:#fff;
  color:var(--ink);font-size:26px;font-weight:600;line-height:1;cursor:pointer;
  border-radius:12px;transition:all .12s ease;display:flex;align-items:center;justify-content:center;padding:0}
.qty button:hover:not(:disabled){border-color:var(--orange);color:var(--orange);background:#FFF6F1}
.qty button:active:not(:disabled){transform:scale(.94)}
.qty button:disabled{opacity:.28;cursor:default}
.qty .n{min-width:48px;text-align:center;font-family:var(--font-display);
  font-size:24px;font-weight:800}

.bld .add{width:100%;margin-top:16px;padding:17px;font-size:17px}

/* what you have added */
.basket{margin-top:28px}
.bk-head{font-size:16px;font-weight:700;margin-bottom:4px}
.bk-row{display:flex;align-items:center;gap:14px;padding:16px 0;
  border-bottom:1px solid var(--line-light)}
.bk-row:last-child{border-bottom:0}
.bk-name{flex:1;min-width:0;font-size:16px;font-weight:600;line-height:1.3}
.bk-name small{display:block;font-weight:400;font-size:14px;color:var(--muted);margin-top:3px}
.bk-amt{font-size:17px;font-weight:700;flex:none;min-width:64px;text-align:right}
.bk-x{width:44px;height:44px;flex:none;border:0;background:transparent;color:#a8b2c0;
  font-size:26px;cursor:pointer;border-radius:10px;line-height:1;
  display:flex;align-items:center;justify-content:center}
.bk-x:hover{color:var(--orange-deep);background:#FFF1E9}
.bk-empty{color:var(--muted);font-size:16px;padding:26px 0;text-align:center;
  background:var(--paper);border-radius:12px;margin-top:8px}

/* the number that matters */
.bk-foot{margin-top:22px;padding:20px;background:var(--paper);border-radius:12px}
.bk-line{display:flex;justify-content:space-between;font-size:16px;color:var(--muted);margin-bottom:10px}
.bk-sum{display:flex;justify-content:space-between;align-items:center;
  padding-top:14px;border-top:2px solid rgba(21,34,56,.1)}
.bk-sum span{font-size:18px;font-weight:700}
.bk-sum strong{font-family:var(--font-display);font-weight:800;font-size:34px;letter-spacing:-.02em}

@media (max-width:560px){
  .qty button{width:56px;height:56px;font-size:28px}
  .qty .n{min-width:52px;font-size:26px}
  .bk-sum strong{font-size:30px}
  .howmany{flex-direction:column;align-items:stretch;gap:10px}
  .howmany .qty{justify-content:center}
}

/* ---------- phone field with country code ---------- */
.phone{display:flex;gap:8px;align-items:stretch}
.phone select{
  flex:none;width:112px;font-family:var(--font-body);font-size:16px;
  padding:13px 8px 13px 12px;border:1px solid rgba(21,34,56,.18);border-radius:10px;
  background:#fff;color:var(--ink);
  /* the option text is long so the list is readable, but the closed control
     stays narrow — the browser truncates rather than stretching the row */
  text-overflow:ellipsis
}
.phone select:focus{border-color:var(--orange);outline:2px solid rgba(232,114,44,.22)}
.phone input{flex:1;min-width:0}
@media (max-width:400px){
  .phone select{width:96px;font-size:15px;padding-left:8px}
}
/* ============================================================
   MOBILE MENU — append to the END of assets/app.css
   Adds a hamburger under 720px. Desktop is untouched.
   ============================================================ */

/* Burger button: hidden on desktop */
.topbar .burger{
  display: none;
  width: 42px; height: 42px;
  flex: 0 0 auto;
  align-items: center; justify-content: center;
  background: rgba(255,255,255,.08);
  border: 0; border-radius: 9px;
  cursor: pointer; padding: 0;
  margin-left: auto;
}
.topbar .burger:hover{ background: rgba(255,255,255,.14); }
.topbar .burger:focus-visible{ outline: 2px solid #ee7124; outline-offset: 3px; }

.topbar .burger span{
  display: block; position: relative;
  width: 18px; height: 2px;
  background: #fff; border-radius: 2px;
  transition: background .15s ease;
}
.topbar .burger span::before,
.topbar .burger span::after{
  content: ""; position: absolute; left: 0;
  width: 18px; height: 2px;
  background: #fff; border-radius: 2px;
  transition: transform .18s ease, top .18s ease;
}
.topbar .burger span::before{ top: -6px; }
.topbar .burger span::after{  top:  6px; }

/* Becomes an X when open */
.topbar .burger[aria-expanded="true"] span{ background: transparent; }
.topbar .burger[aria-expanded="true"] span::before{ top: 0; transform: rotate(45deg); }
.topbar .burger[aria-expanded="true"] span::after{  top: 0; transform: rotate(-45deg); }

/* Slide-down panel */
.menu-panel{
  position: fixed;
  top: var(--topbar-h, 60px); left: 0; right: 0;
  z-index: 199;
  background: #1e2d4d;
  border-top: 1px solid rgba(255,255,255,.10);
  box-shadow: 0 14px 30px rgba(0,0,0,.32);
  padding: 8px 16px 18px;
  display: none;
}
.menu-panel.is-open{ display: block; animation: menuDrop .16s ease; }
@keyframes menuDrop{
  from{ opacity: 0; transform: translateY(-8px); }
  to{   opacity: 1; transform: none; }
}

.menu-panel a{
  display: block;
  padding: 15px 4px;
  font-size: 17px; font-weight: 600;
  color: #b9c2d2;
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.menu-panel a:hover, .menu-panel a:focus-visible{ color: #fff; }

/* The orange button inside the panel */
.menu-panel a.btn{
  display: block;
  text-align: center;
  margin-top: 14px;
  padding: 14px 16px;
  font-size: 16px;
  border-bottom: 0;
  border-radius: 8px;
}

/* Sign out sits quietly under the button */
.menu-panel a.menu-quiet{
  text-align: center;
  font-size: 15px;
  color: #8e9ab0;
  border-bottom: 0;
  padding-top: 12px;
}

/* Dim the page behind the open menu */
.menu-scrim{
  position: fixed; inset: 0;
  top: var(--topbar-h, 60px);
  background: rgba(6,11,22,.5);
  z-index: 198;
  display: none;
}
.menu-scrim.is-open{ display: block; }

/* Phones: hide inline links, show the burger */
@media (max-width: 720px){
  .topbar .topnav{ display: none; }
  .topbar .burger{ display: flex; }
}

@media (prefers-reduced-motion: reduce){
  .menu-panel.is-open{ animation: none; }
  .topbar .burger span,
  .topbar .burger span::before,
  .topbar .burger span::after{ transition: none; }
}
