/* =====================================================================
   NXT-Mobile — v3 styles (announce bar, quote wizard, nav-cta)
   Loaded AFTER app.css and app-v2.css. Additive only.
   ===================================================================== */

/* =================================================================== */
/* Announcement bar (top of every page)                                 */
/* =================================================================== */
.announce-bar {
  background: linear-gradient(90deg,
              #1a2738 0%, #15202c 50%, #1a2738 100%);
  border-bottom: 1px solid var(--line, #25384a);
  font-family: var(--mono, 'Space Mono', monospace);
  font-size: 12px;
  color: var(--ink);
  position: relative;
  overflow: hidden;
}
.announce-bar::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg,
              transparent 0%, rgba(255,180,84,.05) 50%, transparent 100%);
  pointer-events: none;
}
.announce-inner {
  max-width: 1280px; margin: 0 auto;
  display: flex; align-items: center;
  gap: 22px;
  padding: 8px 22px;
  flex-wrap: wrap;
  position: relative; z-index: 1;
}
.announce-tel {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--ink); text-decoration: none;
  letter-spacing: .04em;
  transition: .2s;
}
.announce-tel:hover { color: var(--amber, #ffb454) }
.announce-tel .ab-icon  { font-size: 14px }
.announce-tel .ab-label { color: var(--muted, #8aa3b3); font-size: 11px }
.announce-tel strong    { color: var(--amber, #ffb454); font-size: 13px;
                          letter-spacing: .06em }

.announce-ship {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--muted, #8aa3b3);
  margin-left: auto;
}
.announce-ship strong {
  color: var(--ink); font-variant-numeric: tabular-nums;
  letter-spacing: .04em;
}
.announce-ship .ab-pulse {
  width: 8px; height: 8px; border-radius: 50%;
  background: #76d49e;
  box-shadow: 0 0 8px #76d49e;
  animation: ab-pulse 1.6s ease-out infinite;
}
@keyframes ab-pulse {
  0%   { box-shadow: 0 0 0 0   rgba(118,212,158,.55) }
  70%  { box-shadow: 0 0 0 10px rgba(118,212,158,0) }
  100% { box-shadow: 0 0 0 0   rgba(118,212,158,0) }
}
.announce-ship.ab-past .ab-pulse {
  background: var(--amber, #ffb454);
  box-shadow: 0 0 8px var(--amber, #ffb454);
  animation: none;
}
.announce-ship.ab-past::after {
  content: '· ships tomorrow';
  color: var(--amber, #ffb454);
  margin-left: 4px;
  font-size: 11px;
}
.announce-ship.ab-past .ab-ship-label,
.announce-ship.ab-past .ab-ship-cut { display: none }

.ab-ship-cut { color: var(--muted-2, #5d7585); font-size: 11px }

.announce-close {
  background: transparent; border: 0; color: var(--muted);
  font-size: 18px; line-height: 1; cursor: pointer;
  padding: 0 4px; margin-left: 10px;
  transition: .15s;
}
.announce-close:hover { color: var(--ink) }

@media (max-width: 680px) {
  .announce-inner { gap: 12px; padding: 7px 14px; font-size: 11px }
  .announce-ship  { margin-left: 0; width: 100%; order: 2 }
  .announce-ship .ab-ship-cut { display: none }
  .announce-tel strong { font-size: 12px }
}

/* =================================================================== */
/* Nav CTA pill ("Member Login" / "Dashboard")                          */
/* =================================================================== */
.btn-pill.nav-cta {
  background: var(--amber, #ffb454);
  color: #0a1822;
  border: 0;
  padding: 8px 18px;
  border-radius: 99px;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .02em;
  margin-left: 6px;
  transition: .2s;
}
.btn-pill.nav-cta:hover {
  background: #ffc878;
  transform: translateY(-1px);
  box-shadow: 0 8px 22px -8px var(--amber, #ffb454);
}

/* =================================================================== */
/* QUOTE WIZARD                                                         */
/* =================================================================== */
.wiz-shell {
  max-width: 720px;
  margin: 0 auto;
  background: var(--panel, #152230);
  border: 1px solid var(--line, #25384a);
  border-radius: 16px;
  padding: clamp(20px, 4vw, 36px);
}

/* Progress strip */
.wiz-progress { margin-bottom: 28px }
.wiz-steps {
  list-style: none; display: flex; justify-content: space-between;
  margin: 0 0 12px; padding: 0;
  font-size: 11px; letter-spacing: .1em; text-transform: uppercase;
  color: var(--muted, #8aa3b3);
}
.wiz-steps li {
  display: flex; align-items: center; gap: 8px;
  transition: color .25s;
}
.wiz-steps li.active { color: var(--ink) }
.wiz-steps li.done   { color: var(--ok, #76d49e) }
.wiz-num {
  width: 22px; height: 22px; border-radius: 50%;
  border: 1px solid currentColor;
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--mono, monospace);
  font-size: 11px; font-weight: 700;
  transition: .25s;
}
.wiz-steps li.active .wiz-num {
  background: var(--amber, #ffb454); color: #0a1822; border-color: var(--amber, #ffb454);
}
.wiz-steps li.done .wiz-num {
  background: var(--ok, #76d49e); color: #0a1822; border-color: var(--ok, #76d49e);
}
.wiz-steps li.done .wiz-num::before { content: '✓'; }
.wiz-steps li.done .wiz-num { font-size: 12px }
.wiz-label { display: none }
@media (min-width: 640px) { .wiz-label { display: inline } }

.wiz-bar {
  height: 3px; background: var(--line, #25384a);
  border-radius: 99px; overflow: hidden;
}
.wiz-bar span {
  display: block; height: 100%;
  background: linear-gradient(90deg, var(--amber, #ffb454), var(--ok, #76d49e));
  transition: width .35s cubic-bezier(.4,0,.2,1);
}

/* Steps */
.wiz-step { display: none; animation: wizIn .3s ease }
.wiz-step.on { display: block }
@keyframes wizIn {
  from { opacity: 0; transform: translateX(12px) }
  to   { opacity: 1; transform: translateX(0)    }
}
.wiz-head { margin-bottom: 22px }
.wiz-head h2 {
  font-size: clamp(1.3rem, 3vw, 1.6rem);
  color: var(--ink); margin: 0 0 6px; line-height: 1.2;
}
.wiz-head p { color: var(--muted); font-size: 14px; line-height: 1.55; margin: 0 }

/* Fields */
.wiz-field { margin-bottom: 18px }
.wiz-field > label {
  display: block; font-size: 11px; letter-spacing: .12em;
  text-transform: uppercase; color: var(--muted);
  margin-bottom: 6px;
}
.wiz-field .req { color: var(--amber, #ffb454) }
.wiz-field .opt { color: var(--muted-2, #5d7585); text-transform: none; letter-spacing: 0 }
.wiz-field input,
.wiz-field select,
.wiz-field textarea {
  width: 100%; padding: 13px 14px;
  background: var(--bg, #0a1822);
  border: 1px solid var(--line, #25384a);
  border-radius: 10px;
  color: var(--ink); font: 14px var(--disp, system-ui);
  transition: border-color .18s, box-shadow .18s;
}
.wiz-field input:focus,
.wiz-field select:focus,
.wiz-field textarea:focus {
  outline: none;
  border-color: var(--amber, #ffb454);
  box-shadow: 0 0 0 3px rgba(255,180,84,.16);
}
.wiz-field select:disabled {
  opacity: .5; cursor: not-allowed;
}
.wiz-field textarea { resize: vertical; min-height: 70px; font-family: inherit }
.wiz-hint {
  margin-top: 6px; color: var(--muted-2, #5d7585);
  font-size: 12px; line-height: 1.5;
}

/* Price box */
.wiz-price {
  background: linear-gradient(135deg, rgba(255,180,84,.08), rgba(255,180,84,.02));
  border: 1px solid rgba(255,180,84,.32);
  border-radius: 12px;
  padding: 16px 18px;
  margin: 8px 0 20px;
  transition: box-shadow .35s;
}
.wiz-price.flash { box-shadow: 0 0 0 4px rgba(255,180,84,.18) }
.wp-head {
  font-size: 11px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--amber, #ffb454);
}
.wp-amount {
  font-family: var(--mono, monospace);
  font-size: clamp(1.5rem, 3.5vw, 2rem);
  color: var(--ink);
  margin: 4px 0 4px;
  letter-spacing: -.01em;
}
.wp-meta {
  font-size: 12px; color: var(--muted);
  display: flex; gap: 8px; flex-wrap: wrap;
}
.wp-sep { color: var(--muted-2, #5d7585) }

/* Condition pills */
.wiz-cond {
  display: flex; flex-direction: column; gap: 14px;
  margin-bottom: 18px;
}
.cond-row {
  display: grid; grid-template-columns: 1fr;
  gap: 8px;
}
.cond-q {
  font-size: 13px; color: var(--ink);
  font-weight: 500;
}
.cond-opts {
  display: flex; flex-wrap: wrap; gap: 6px;
}
.cond-opts button {
  flex: 1 1 auto; min-width: 80px;
  padding: 9px 14px;
  background: var(--bg, #0a1822);
  border: 1px solid var(--line, #25384a);
  border-radius: 99px;
  color: var(--ink); font-size: 13px;
  cursor: pointer;
  transition: .18s;
  font-family: inherit;
}
.cond-opts button:hover {
  border-color: var(--line-2, #324a60);
  background: var(--bg-2, #0f2030);
}
.cond-opts button.on {
  background: var(--amber, #ffb454);
  color: #0a1822;
  border-color: var(--amber, #ffb454);
  font-weight: 700;
}

/* Drop zone */
.wiz-drop {
  display: block; cursor: pointer;
  border: 2px dashed var(--line-2, #324a60);
  border-radius: 12px;
  padding: 26px 18px;
  text-align: center;
  background: var(--bg, #0a1822);
  transition: .18s;
  margin-bottom: 14px;
}
.wiz-drop:hover, .wiz-drop.over {
  border-color: var(--amber, #ffb454);
  background: linear-gradient(135deg, rgba(255,180,84,.04), transparent);
}
.wd-icon { font-size: 28px; margin-bottom: 8px }
.wd-text strong { display: block; color: var(--ink); font-size: 14px }
.wd-text span   { display: block; color: var(--muted); font-size: 12px; margin-top: 3px }

.wiz-thumbs {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
  gap: 8px;
  margin-bottom: 12px;
}
.wiz-thumb {
  position: relative; aspect-ratio: 1;
  border-radius: 8px; overflow: hidden;
  background: var(--bg-2);
}
.wiz-thumb img {
  width: 100%; height: 100%; object-fit: cover;
}
.wt-del {
  position: absolute; top: 4px; right: 4px;
  width: 22px; height: 22px; border-radius: 50%;
  background: rgba(10,24,34,.85); border: 0;
  color: #fff; font-size: 16px; line-height: 1; cursor: pointer;
}
.wt-del:hover { background: var(--red, #ff5c5c) }

/* Recap */
.wiz-recap {
  background: var(--bg-2, #0f2030);
  border: 1px solid var(--line, #25384a);
  border-radius: 12px;
  padding: 14px 16px;
  margin-bottom: 18px;
}
.wiz-recap h3 {
  font-size: 11px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--amber, #ffb454);
  margin: 0 0 10px;
}
.wiz-recap dl {
  display: grid; grid-template-columns: 110px 1fr;
  gap: 6px 14px; margin: 0;
}
.wiz-recap dt { color: var(--muted); font-size: 11px; letter-spacing: .1em;
                text-transform: uppercase; padding-top: 2px }
.wiz-recap dd { color: var(--ink); font-size: 14px; margin: 0 }

/* Actions footer */
.wiz-actions {
  display: flex; justify-content: space-between;
  gap: 10px;
  margin-top: 22px;
  padding-top: 22px;
  border-top: 1px solid var(--line, #25384a);
}
.wiz-actions .btn { padding: 11px 22px }
.wiz-actions .btn:disabled {
  opacity: .4; cursor: not-allowed; transform: none !important;
}

.wiz-status {
  margin-top: 14px; font-size: 13px;
  text-align: center; color: var(--muted);
  min-height: 18px;
}
.wiz-status.ok  { color: var(--ok, #76d49e) }
.wiz-status.err { color: var(--red, #ff5c5c) }

@media (max-width: 540px) {
  .wiz-actions .btn { flex: 1; padding: 11px 14px }
  .wiz-recap dl { grid-template-columns: 1fr; gap: 2px 0 }
  .wiz-recap dt { margin-top: 8px }
}
