:root{
  --ink:#060607;
  --panel:rgba(255,255,255,.045);
  --panel-2:rgba(255,255,255,.045);
  --panel-3:rgba(255,255,255,.07);
  --line:rgba(255,255,255,.08);
  --line-strong:rgba(255,255,255,.14);
  --text:#f2f0ec;
  --text-dim:#a8adb3;
  --text-faint:#6b7078;
  --orange:#f0940c;
  --orange-2:#ff7a1a;
  --orange-dim:#a86408;
  --green:#3fb56f;
  --red:#e6503f;
  --blue:#3f8cf2;
  --radius:18px;
  --shadow-lg:0 24px 60px rgba(0,0,0,.55);
  font-size:16px;
}

*{box-sizing:border-box;}
html,body{margin:0;padding:0;}
body{
  background: var(--ink);
  color:var(--text);
  font-family:-apple-system,BlinkMacSystemFont,"Inter","Segoe UI",Roboto,Helvetica,Arial,sans-serif;
  min-height:100vh;
  -webkit-font-smoothing:antialiased;
}

.page{
  min-height:100vh;
  display:flex;
  flex-direction:column;
  align-items:center;
  padding:40px 16px 32px;
  gap:22px;
}

.page-header{text-align:center;max-width:640px;}
.wordmark{font-size:1.7rem;font-weight:800;letter-spacing:-.02em;}
.wordmark__gun{color:var(--text);}
.wordmark__broker{color:var(--orange);}
.wordmark__product{
  display:block;
  margin-top:2px;
  font-size:.78rem;
  letter-spacing:.24em;
  text-transform:uppercase;
  color:var(--text-faint);
  font-weight:700;
}
.page-header__tag{
  margin:10px 0 0;
  color:var(--text-dim);
  font-size:.88rem;
}

/* ===== order switcher ===== */
.order-switcher{
  display:flex;
  gap:8px;
  background:var(--panel-2);
  border:1px solid var(--line-strong);
  border-radius:999px;
  padding:4px;
  max-width:100%;
  overflow-x:auto;
  scrollbar-width:none;
}
.order-switcher::-webkit-scrollbar{display:none;}
.switcher-tab{
  flex-shrink:0;
  background:none;
  border:none;
  color:var(--text-dim);
  font-size:.8rem;
  font-weight:700;
  padding:9px 16px;
  border-radius:999px;
  cursor:pointer;
  white-space:nowrap;
}
.switcher-tab.is-active{
  background:var(--orange);
  color:#171000;
}

.stack{
  width:100%;
  max-width:760px;
  display:flex;
  flex-direction:column;
  gap:20px;
}

.card{
  background:linear-gradient(180deg, var(--panel-2), rgba(255,255,255,.015));
  backdrop-filter:blur(20px) saturate(150%);
  border:1px solid var(--line-strong);
  border-radius:var(--radius);
  padding:22px;
}
.card h2{
  margin:0 0 16px;
  font-size:1.02rem;
  font-weight:800;
}
.card h2 .card__h2-sub{
  display:block;
  margin-top:2px;
  font-size:.74rem;
  font-weight:600;
  color:var(--text-faint);
  text-transform:none;
  letter-spacing:0;
}

/* ===== order summary ===== */
.summary{
  display:flex;
  gap:18px;
}
.summary__media{
  width:112px;
  height:112px;
  flex-shrink:0;
  border-radius:14px;
  overflow:hidden;
  position:relative;
  background:var(--panel-3);
}
.summary__media img{
  width:100%;height:100%;
  object-fit:cover;
}
.summary__body{
  flex:1;
  min-width:0;
  display:flex;
  flex-direction:column;
  gap:6px;
}
.summary__top{display:flex;justify-content:space-between;align-items:flex-start;gap:10px;}
.summary__title{font-size:1.12rem;font-weight:800;line-height:1.3;}
.summary__price{font-size:1.15rem;font-weight:900;color:var(--orange);flex-shrink:0;text-align:right;}
.summary__price-label{display:block;font-size:.64rem;color:var(--text-faint);text-transform:uppercase;letter-spacing:.05em;font-weight:700;}
.summary__meta{
  display:flex;
  flex-wrap:wrap;
  gap:6px 16px;
  font-size:.8rem;
  color:var(--text-dim);
  margin-top:auto;
}
.summary__meta strong{color:var(--text);font-weight:700;}
.photo-credit{
  font-size:.62rem;
  color:var(--text-faint);
  margin-top:6px;
}
.photo-credit a{color:inherit;}

.order-number{
  font-family:ui-monospace,SFMono-Regular,Menlo,monospace;
  background:var(--panel-3);
  padding:2px 8px;
  border-radius:6px;
  font-size:.78rem;
  color:var(--text);
  letter-spacing:.02em;
}

/* ===== stepper ===== */
.stepper{
  display:flex;
  flex-direction:column;
}
.step{
  position:relative;
  display:flex;
  gap:14px;
  padding-bottom:22px;
}
.step:last-child{padding-bottom:0;}
.step:last-child .step__line{display:none;}
.step__line{
  position:absolute;
  left:15px;top:32px;bottom:0;
  width:2px;
  background:var(--line);
}
.step.is-done .step__line{background:var(--green);}
.step__dot{
  flex-shrink:0;
  width:32px;height:32px;
  border-radius:50%;
  display:flex;align-items:center;justify-content:center;
  background:var(--panel-3);
  border:2px solid var(--line-strong);
  color:var(--text-faint);
  font-weight:800;
  font-size:.8rem;
  z-index:1;
}
.step.is-done .step__dot{
  background:var(--green);
  border-color:var(--green);
  color:#0a1c10;
}
.step.is-current .step__dot{
  background:var(--orange);
  border-color:var(--orange);
  color:#171000;
  box-shadow:0 0 0 4px rgba(240,148,12,.22);
  animation:pulse 1.8s ease-in-out infinite;
}
@keyframes pulse{
  0%,100%{box-shadow:0 0 0 4px rgba(240,148,12,.22);}
  50%{box-shadow:0 0 0 8px rgba(240,148,12,.1);}
}
.step__body{flex:1;padding-top:3px;}
.step__title{
  font-weight:700;
  font-size:.92rem;
  color:var(--text-faint);
}
.step.is-done .step__title,
.step.is-current .step__title{color:var(--text);}
.step.is-current .step__title{color:var(--orange);}
.step__time{
  font-size:.78rem;
  color:var(--text-dim);
  margin-top:2px;
}
.step.is-future .step__time{color:var(--text-faint);}
.step__badge{
  display:inline-block;
  margin-top:6px;
  font-size:.68rem;
  font-weight:800;
  text-transform:uppercase;
  letter-spacing:.05em;
  padding:3px 9px;
  border-radius:999px;
  background:rgba(240,148,12,.16);
  color:var(--orange);
}

/* ===== tracking log ===== */
.tracklog{
  display:flex;
  flex-direction:column;
  gap:2px;
}
.tracklog-item{
  display:flex;
  gap:14px;
  padding:12px 0;
  border-bottom:1px solid var(--line);
}
.tracklog-item:last-child{border-bottom:none;padding-bottom:0;}
.tracklog-item:first-child{padding-top:0;}
.tracklog-item__dot{
  flex-shrink:0;
  width:8px;height:8px;
  border-radius:50%;
  background:var(--orange);
  margin-top:6px;
}
.tracklog-item:not(:first-child) .tracklog-item__dot{background:var(--text-faint);}
.tracklog-item__body{flex:1;min-width:0;}
.tracklog-item__top{display:flex;justify-content:space-between;gap:10px;flex-wrap:wrap;}
.tracklog-item__label{font-weight:700;font-size:.86rem;}
.tracklog-item__time{font-size:.74rem;color:var(--text-faint);flex-shrink:0;}
.tracklog-item__detail{font-size:.8rem;color:var(--text-dim);margin-top:2px;}

/* ===== FFL selector ===== */
.ffl-list{
  display:flex;
  flex-direction:column;
  gap:10px;
}
.ffl-option{
  display:flex;
  gap:12px;
  align-items:flex-start;
  background:var(--panel-3);
  border:1px solid var(--line-strong);
  border-radius:14px;
  padding:14px;
  cursor:pointer;
  text-align:left;
  width:100%;
  color:var(--text);
  font:inherit;
}
.ffl-option.is-selected{
  border-color:var(--orange);
  background:rgba(240,148,12,.08);
}
.ffl-option__radio{
  flex-shrink:0;
  width:20px;height:20px;
  border-radius:50%;
  border:2px solid var(--text-faint);
  margin-top:2px;
  display:flex;align-items:center;justify-content:center;
}
.ffl-option.is-selected .ffl-option__radio{border-color:var(--orange);}
.ffl-option__radio::after{
  content:"";
  width:10px;height:10px;
  border-radius:50%;
  background:var(--orange);
  opacity:0;
}
.ffl-option.is-selected .ffl-option__radio::after{opacity:1;}
.ffl-option__body{flex:1;min-width:0;}
.ffl-option__top{display:flex;justify-content:space-between;gap:10px;flex-wrap:wrap;align-items:baseline;}
.ffl-option__name{font-weight:800;font-size:.92rem;}
.ffl-option__distance{font-size:.76rem;color:var(--orange);font-weight:700;flex-shrink:0;}
.ffl-option__addr{font-size:.78rem;color:var(--text-dim);margin-top:2px;}
.ffl-option__meta{
  display:flex;
  flex-wrap:wrap;
  gap:6px 14px;
  margin-top:8px;
  font-size:.76rem;
  color:var(--text-dim);
}
.ffl-option__stars{color:var(--orange);letter-spacing:1px;}
.ffl-option__selected-tag{
  display:inline-flex;
  align-items:center;
  gap:4px;
  margin-top:8px;
  font-size:.7rem;
  font-weight:800;
  text-transform:uppercase;
  letter-spacing:.04em;
  color:var(--green);
}

.ffl-footer{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  margin-top:16px;
  padding-top:14px;
  border-top:1px solid var(--line);
}
.ffl-footer__current{font-size:.8rem;color:var(--text-dim);}
.ffl-footer__current strong{color:var(--text);}

/* ===== buttons ===== */
.btn{
  border:none;
  border-radius:999px;
  padding:10px 18px;
  font-weight:700;
  font-size:.82rem;
  cursor:pointer;
  flex-shrink:0;
}
.btn--primary{background:var(--orange);color:#171000;}
.btn--ghost{background:var(--panel-3);border:1px solid var(--line-strong);color:var(--text);}

.disclaimer{
  max-width:640px;
  text-align:center;
  font-size:.72rem;
  line-height:1.6;
  color:var(--text-faint);
  padding:0 12px;
}

@media (max-width:600px){
  .page{padding:24px 12px 24px;}
  .summary{gap:14px;}
  .summary__media{width:84px;height:84px;}
  .summary__title{font-size:1rem;}
  .card{padding:16px;}
}
