/* Sell your phone — instant price estimate */
.bb-section h2.bb-title { text-align: center; margin: 0 0 26px; font-size: clamp(1.6rem, 3vw, 2.1rem); }
.bb-wrap { display: grid; grid-template-columns: minmax(0, 344px) minmax(0, 360px); gap: 36px; justify-content: center; align-items: start; }
.bb-form { display: flex; flex-direction: column; gap: 14px; }
.bb-field { position: relative; background: var(--bg-soft); border: 1.5px solid transparent; border-radius: 10px; min-height: 50px; }
.bb-field.is-open, .bb-field:focus-within { border-color: var(--blue); background: #fff; }
.bb-field > label { position: absolute; left: 14px; top: 7px; font-size: .7rem; font-weight: 600; color: var(--muted); opacity: 0; transition: opacity .15s; pointer-events: none; }
.bb-field.has > label, .bb-combo.is-open > label, .bb-combo:focus-within > label { opacity: 1; }
.bb-combo input { width: 100%; height: 50px; border: 0; background: transparent; padding: 14px 44px 4px 14px; font: inherit; font-weight: 700; color: var(--ink); outline: none; }
.bb-combo input::placeholder { font-weight: 500; color: #49536a; }
.bb-combo input:disabled::placeholder { color: #a7afbf; }
.bb-combo:has(input:disabled) { opacity: .6; }
.bb-combo:not(.has):not(:focus-within) input { padding-top: 4px; }
.bb-ico { position: absolute; right: 14px; top: 15px; width: 20px; height: 20px; color: var(--ink); pointer-events: none; }
.bb-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.bb-drop button { width: 100%; height: 50px; border: 0; background: transparent; text-align: left; padding: 4px 40px 4px 14px; font: inherit; font-weight: 600; color: var(--ink); cursor: pointer; }
.bb-drop button.has { padding-top: 16px; font-weight: 700; }
.bb-drop button:disabled { color: #a7afbf; cursor: default; }
.bb-drop:has(button:disabled) { opacity: .6; }
.bb-list { position: absolute; z-index: 30; left: -1.5px; right: -1.5px; top: calc(100% + 4px); margin: 0; padding: 6px 0; list-style: none; background: #fff; border: 1px solid var(--line); border-radius: 10px; box-shadow: var(--shadow); max-height: 300px; overflow: auto; }
.bb-drop .bb-list { min-width: 170px; }
.bb-list li { padding: 8px 14px; font-size: .92rem; cursor: pointer; }
.bb-list li[role=option]:hover, .bb-list li[aria-selected=true] { background: var(--bg-soft); }
.bb-list li[aria-selected=true] { font-weight: 700; }
.bb-list .bb-head { color: var(--blue); font-weight: 700; cursor: default; font-size: .88rem; }
.bb-list .bb-head + .bb-head { color: var(--muted); font-size: .7rem; text-transform: uppercase; letter-spacing: .06em; padding-top: 2px; }
.bb-list .bb-none { color: var(--muted); cursor: default; }
.bb-q { border: 0; margin: 4px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.bb-q legend { font-weight: 600; font-size: .92rem; margin-bottom: 8px; padding: 0; }
.bb-q:disabled { opacity: .45; }
.bb-opt { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; height: 100px; background: var(--bg-soft); border: 1.5px solid transparent; border-radius: 10px; cursor: pointer; color: var(--ink); font: inherit; }
.bb-opt svg { height: 52px; width: auto; color: #3c465a; }
.bb-opt b { font-size: .92rem; }
.bb-opt:hover:not(:disabled) { border-color: var(--silver); }
.bb-opt.is-on { background: #fff; border-color: var(--blue); }
.bb-opt.is-on b, .bb-opt.is-on svg { color: var(--blue); }
.bb-q:disabled .bb-opt { cursor: default; }
.bb-go { margin-top: 8px; height: 50px; border-radius: 999px; }
.bb-go:disabled { opacity: .35; cursor: default; }
.bb-card { position: sticky; top: 140px; background: var(--bg-soft); border-radius: 18px; min-height: 330px; overflow: hidden; display: flex; flex-direction: column; }
.bb-idle { margin: auto; text-align: center; padding: 30px 28px; }
.bb-idle svg { width: 50px; height: 50px; color: var(--navy-2); }
.bb-idle h3 { margin: 10px 0 8px; font-size: 1.45rem; }
.bb-idle p { margin: 0; color: var(--ink); font-size: .92rem; }
.bb-card.is-offer { background: #fff; box-shadow: var(--shadow); border: 1px solid var(--line); }
.bb-card-top { background: var(--navy); color: #fff; text-align: center; padding: 18px 18px 14px; }
.bb-card-top h3 { margin: 0; font-size: 1.15rem; color: #fff; }
.bb-card-top p { margin: 3px 0 10px; font-size: .85rem; opacity: .85; }
.bb-checks { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 12px; font-size: .78rem; }
.bb-checks li { display: inline-flex; align-items: center; gap: 5px; }
.bb-checks svg { width: 14px; height: 14px; }
.bb-checks .ok svg { color: #3fbf78; }
.bb-checks .no svg { color: #e0566a; }
.bb-card-body { padding: 18px 24px 22px; text-align: center; }
.bb-price { font-size: 3.6rem; font-weight: 900; color: var(--navy); line-height: 1; letter-spacing: -.02em; }
.bb-price sup { font-size: .5em; vertical-align: .55em; margin-right: 2px; }
.bb-price.bb-zero { font-size: 2rem; }
.bb-lucky { font-weight: 800; margin: 10px 0 4px; }
.bb-card-body p { font-size: .88rem; margin: 6px 0 14px; }
.bb-card-body .btn { border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; }
.bb-card-body .btn svg { width: 18px; height: 18px; }
.bb-card-body small { display: block; margin-top: 10px; color: var(--muted); font-size: .75rem; }
.bb-lockform { text-align: left; }
.bb-lockform .bb-lucky { text-align: center; }
.bb-lockform label { display: block; font-weight: 600; font-size: .85rem; margin-bottom: 10px; }
.bb-lockform input, .bb-lockform select { display: block; width: 100%; margin-top: 4px; padding: 10px 12px; border: 1.5px solid var(--line); border-radius: 8px; font: inherit; }
.bb-err { color: var(--alert); font-size: .85rem; }
.bb-note { text-align: center; color: var(--muted); font-size: .85rem; margin-top: 22px; }
@media (max-width: 860px) {
  .bb-wrap { grid-template-columns: minmax(0, 420px); }
  .bb-card { position: static; min-height: 0; }
}
