/* =====================================================================
   Sell wizard
   ===================================================================== */
.wiz-wrap { padding-top: 16px; padding-bottom: 40px; }
.wiz-progress { display: grid; grid-template-columns: repeat(5, 1fr); list-style: none; margin: 0 0 16px; padding: 0; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; }
.wiz-progress li { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 6px; font-weight: 600; color: var(--muted); font-size: .95rem; border-bottom: 3px solid transparent; }
.wiz-progress li span { width: 24px; height: 24px; display: grid; place-items: center; border-radius: var(--r-sm); background: var(--shelf); color: var(--muted); font-family: var(--f-display); font-stretch: 112%; font-size: .82rem; font-weight: 800; }
.wiz-progress li.done { color: var(--ink); }
.wiz-progress li.done span { background: var(--ink); color: #fff; }
.wiz-progress li.on { color: var(--ink); border-bottom-color: var(--orange); }
.wiz-progress li.on span { background: var(--orange); color: var(--ink); }
@media (max-width: 575.98px) {
  .wiz-progress li { flex-direction: column; gap: 4px; font-size: .74rem; padding: 8px 2px; }
}

.wiz-grid { display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr); }
.wiz-main, .wiz-side { min-width: 0; }
@media (min-width: 992px) { .wiz-grid { grid-template-columns: minmax(0, 1fr) 320px; align-items: start; } .wiz-side { position: sticky; top: calc(var(--header-h) + 16px); } }
@media (max-width: 991.98px) { .wiz-help { display: none; } }

.wiz-loading { color: var(--muted); padding: 40px 0; text-align: center; }
.wiz-step h2 { margin: 0 0 4px; font-size: clamp(1.3rem, 1.1rem + .8vw, 1.7rem); }
.wiz-step .sub { color: var(--muted); margin: 0 0 18px; }
.wiz-trail { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin-bottom: 14px; font-size: .95rem; }
.wiz-trail button { border: 0; background: none; padding: 0; color: var(--orange-deep); text-decoration: underline; text-underline-offset: 3px; font-weight: 600; }
.wiz-trail .sep { color: var(--line-strong); }

/* Brand grid inside the wizard */
.pick-brands { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
@media (min-width: 576px) { .pick-brands { grid-template-columns: repeat(4, 1fr); } }
.pick-brands button { height: 76px; border: 1px solid var(--line-strong); border-radius: var(--r-md); background: var(--paper); font-family: var(--f-display); font-stretch: 118%; font-weight: 750; font-size: 1.05rem; color: var(--ink); }
.pick-brands button:hover { border-color: var(--ink); }

/* Series chips */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.chips button { border: 1px solid var(--line-strong); background: var(--paper); border-radius: 999px; padding: 6px 14px; font-weight: 500; color: var(--ink); }
.chips button[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }

/* Model list */
.model-filter { margin-bottom: 12px; }
.model-list { display: grid; grid-template-columns: 1fr; gap: 0; border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; }
@media (min-width: 768px) { .model-list { grid-template-columns: 1fr 1fr; } }
.model-list button { display: flex; align-items: center; justify-content: space-between; gap: 10px; text-align: left; border: 0; border-bottom: 1px solid var(--line); background: var(--paper); padding: 14px 16px; color: var(--ink); font-weight: 500; }
@media (min-width: 768px) { .model-list button:nth-child(odd) { border-right: 1px solid var(--line); } }
.model-list button:hover { background: var(--orange-wash); }
.model-list button small { color: var(--muted); white-space: nowrap; }
.model-list .pop { font-size: .72rem; font-weight: 700; color: var(--orange-deep); background: var(--orange-wash); border-radius: 3px; padding: 1px 6px; margin-left: 6px; }
.not-listed { margin-top: 14px; font-size: .95rem; color: var(--muted); }

/* Option cards (radio) — variants and condition answers */
.opts { display: grid; gap: 8px; grid-template-columns: 1fr; }
@media (min-width: 576px) { .opts.two { grid-template-columns: 1fr 1fr; } .opts.four { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 992px) { .opts.four { grid-template-columns: repeat(4, 1fr); } }
.opt { position: relative; display: block; margin: 0; cursor: pointer; }
.opt input { position: absolute; opacity: 0; pointer-events: none; }
.opt .box { display: block; height: 100%; border: 1.5px solid var(--line-strong); border-radius: var(--r-md); padding: 12px 14px; background: var(--paper); transition: border-color .12s ease, background-color .12s ease; }
.opt .box strong { display: block; font-weight: 600; line-height: 1.3; }
.opt .box small { display: block; color: var(--muted); margin-top: 2px; line-height: 1.35; }
.opt:hover .box { border-color: var(--ink-2); }
.opt input:checked + .box { border-color: var(--ink); background: var(--orange-wash); box-shadow: inset 4px 0 0 var(--orange); }
.opt input:focus-visible + .box { outline: 3px solid var(--orange); outline-offset: 2px; }

.qgroup { padding: 18px 0; border-top: 1px solid var(--line); }
.qgroup:first-of-type { border-top: 0; padding-top: 4px; }
.qgroup legend { font-family: var(--f-display); font-stretch: 112%; font-weight: 750; font-size: 1.08rem; margin-bottom: 4px; float: none; width: auto; }
.qgroup .hint { color: var(--muted); font-size: .92rem; margin: 0 0 10px; }
.qgroup.missing legend { color: #A8231A; }

.wiz-actions { display: flex; gap: 10px; justify-content: space-between; align-items: center; margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); }
@media (max-width: 767.98px) { .wiz-actions.dockable { display: none; } }

/* ----- Signature: price inside the logo's interlocking bracket ----- */
.price-frame { position: relative; padding: 26px 28px; margin: 6px 0 18px; background: var(--paper); }
.price-frame::before, .price-frame::after { content: ""; position: absolute; width: 42%; height: 62%; pointer-events: none; }
.price-frame::before { left: 0; top: 0; border-top: 6px solid var(--ink); border-left: 6px solid var(--ink); }
.price-frame::after { right: 0; bottom: 0; border-bottom: 6px solid var(--orange); border-right: 6px solid var(--orange); }
.price-frame .lbl { font-weight: 600; color: var(--muted); }
.price-frame .amt { font-family: var(--f-display); font-stretch: 125%; font-weight: 800; font-size: clamp(2.1rem, 1.4rem + 3.2vw, 3.6rem); line-height: 1.05; letter-spacing: -.02em; font-variant-numeric: tabular-nums; margin: 6px 0; color: var(--ink); }
.price-frame .amt .to { font-stretch: 100%; font-weight: 500; color: var(--muted); font-size: .5em; margin: 0 .25em; vertical-align: middle; }
.price-frame .note { color: var(--muted); font-size: .95rem; margin: 0; }
.price-frame.final .amt { color: var(--money); }
/* Blur the estimate until the customer verifies their number (below) */
.price-frame.price-locked .amt-blur { filter: blur(9px); user-select: none; -webkit-user-select: none; }
.price-lock-note { display: flex; align-items: center; gap: 8px; margin: -4px 0 10px; font-weight: 600; color: var(--ink-2); font-size: .92rem; }
.price-lock-note i { color: var(--orange-deep); }
@media (max-width: 575.98px) {
  .price-frame { padding: 20px 18px; }
  .price-frame .amt { font-size: 1.65rem; font-stretch: 108%; }
  .price-frame.final .amt { font-size: 2.3rem; }
}
/* one orchestrated moment: brackets close in when the price is revealed */
.price-frame.reveal::before, .price-frame.reveal::after { animation: bracket-in .7s cubic-bezier(.2,.8,.2,1) both; }
.price-frame.reveal::after { animation-delay: .08s; }
@keyframes bracket-in { from { width: 14%; height: 20%; opacity: 0; } to { width: 42%; height: 62%; opacity: 1; } }

.breakdown { display: grid; grid-template-columns: auto 1fr; gap: 4px 16px; font-size: .95rem; margin: 0 0 6px; }
.breakdown dt { color: var(--muted); font-weight: 400; }
.breakdown dd { margin: 0; font-weight: 500; }

/* Contact + OTP */
.otp-input { display: flex; gap: 8px; }
.otp-input input { width: 100%; max-width: 56px; height: 60px; text-align: center; font-family: var(--f-display); font-stretch: 112%; font-weight: 800; font-size: 1.6rem; border: 1.5px solid var(--line-strong); border-radius: var(--r-md); }
.otp-input input:focus { border-color: var(--orange); outline: none; box-shadow: 0 0 0 3px rgba(245,112,47,.22); }
.test-otp { background: #FFF6D8; border: 1px dashed #C99A00; color: #5A4300; border-radius: var(--r-md); padding: 10px 14px; font-size: .95rem; margin-bottom: 14px; }
.test-otp b { font-family: var(--f-display); font-stretch: 112%; letter-spacing: .2em; }

/* Pickup scheduling */
.dates { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(84px, 1fr); gap: 8px; overflow-x: auto; padding-bottom: 4px; }
.dates .opt .box { text-align: center; padding: 10px 6px; }
.dates .opt .box strong { font-family: var(--f-display); font-stretch: 112%; }
.slots .opt input:disabled + .box { opacity: .45; cursor: not-allowed; text-decoration: line-through; }
.svc-msg { font-size: .95rem; margin-top: 6px; }
.svc-ok { color: var(--money); }
.svc-no { color: #A8231A; }


/* Summary sidebar */
.sum-title { font-family: var(--f-body); font-stretch: normal; font-weight: 700; font-size: 1rem; }
.sum-list { margin: 12px 0 0; font-size: .93rem; }
.sum-list dt { color: var(--muted); font-weight: 400; margin-top: 8px; }
.sum-list dd { margin: 0; font-weight: 600; }

/* Mobile sticky action bar */
.wiz-dock { position: fixed; left: 0; right: 0; bottom: 0; z-index: 1040; display: flex; gap: 8px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: var(--paper); border-top: 1px solid var(--line); }
.wiz-dock .btn { flex: 1; padding: .85rem .5rem; }
.wiz-dock #dockBack { flex: 0 0 96px; }
@media (min-width: 768px) { .wiz-dock { display: none !important; } }
@media (max-width: 767.98px) { body:has(.wiz-dock:not([hidden])) .site-footer .legal { padding-bottom: 96px; } }


/* Phase 2B: add-laptop banner, coupon, bonus lines, price lock */
.add-banner { display: flex; align-items: center; gap: 10px; background: var(--orange-wash); border: 1px solid #F8D2BD; border-radius: var(--r-md); padding: 10px 14px; margin-bottom: 16px; font-size: .95rem; }
.add-banner i { color: var(--orange-deep); font-size: 1.2rem; }
.add-banner a { margin-left: auto; font-weight: 600; }
.bonus-lines { border: 1px solid var(--line); border-radius: var(--r-md); padding: 10px 14px; margin: -6px 0 14px; display: grid; gap: 4px; font-size: .95rem; }
.coupon-box { margin: 0 0 14px; }
.coupon-box summary { cursor: pointer; font-weight: 600; color: var(--orange-deep); }
.coupon-box .form-control { max-width: 220px; text-transform: uppercase; }
.lock-row { margin: 12px 0 0; color: var(--ink-2); }
