/* Dr. MacBook — We Buy wizard styles (matches drmacbook-store theme) */
.drmb-bb { max-width: 900px; margin: 0 auto; color: #1F2937; }
.drmb-bb__progress { display: flex; gap: 6px; justify-content: center; margin: 0 0 28px; flex-wrap: wrap; }
.drmb-bb__progress span {
    font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .04em;
    padding: 6px 12px; border-radius: 999px; background: #EEF1F4; color: #6B7280;
}
.drmb-bb__progress span.is-active { background: #43A047; color: #fff; }
.drmb-bb__progress span.is-done { background: #E3F1E4; color: #2E7D32; }

.drmb-bb__heading { text-align: center; font-size: 24px; font-weight: 700; margin: 0 0 22px; }
.drmb-bb__tabs { display: flex; gap: 10px; justify-content: center; margin-bottom: 24px; }
.drmb-bb__tab {
    border: 2px solid #E5E7EB; background: #fff; border-radius: 999px;
    padding: 10px 28px; font-size: 15px; font-weight: 600; cursor: pointer; color: #374151;
}
.drmb-bb__tab.is-active { border-color: #43A047; color: #2E7D32; background: #F2F9F3; }

.drmb-bb__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px; }
.drmb-bb__card {
    background: #fff; border: 1px solid #E5E7EB; border-radius: 12px; padding: 14px 10px 12px;
    text-align: center; cursor: pointer; transition: box-shadow .15s, border-color .15s, transform .15s;
    font-size: 13.5px; font-weight: 600; color: #1F2937;
}
.drmb-bb__card:hover { border-color: #43A047; box-shadow: 0 8px 20px rgba(31,41,55,.10); transform: translateY(-2px); }
.drmb-bb__card img { width: 84px; height: 84px; object-fit: contain; display: block; margin: 0 auto 8px; }
.drmb-bb__card small { display: block; margin-top: 3px; font-size: 11px; font-weight: 500; color: #9CA3AF; }

/* Search (matches the FixFlow appointment planner) */
.drmb-bb__search-wrap { position: relative; max-width: 560px; margin: 0 auto 16px; }
.drmb-bb__search {
    width: 100%; padding: 12px 38px 12px 16px; border: 1px solid #D1D5DB; border-radius: 10px;
    font-size: 15px; font-family: inherit; outline: none; background: #fff; color: #1F2937;
}
.drmb-bb__search:focus { border-color: #43A047; box-shadow: 0 0 0 3px rgba(67,160,71,0.15); }
.drmb-bb__search-clear {
    position: absolute; right: 8px; top: 50%; transform: translateY(-50%);
    width: 26px; height: 26px; border: 0; border-radius: 50%; background: #E5E7EB; color: #6B7280;
    font-size: 16px; line-height: 1; cursor: pointer;
}
.drmb-bb__search-clear:hover { background: #D1D5DB; }
.drmb-bb__search-status { text-align: center; font-size: 13px; color: #6B7280; margin: 0 0 14px; }
.drmb-bb__no-results {
    max-width: 560px; margin: 0 auto; text-align: center; color: #6B7280;
    background: #F9FAFB; border: 1px dashed #E5E7EB; border-radius: 12px; padding: 22px;
}
.drmb-bb__hint {
    text-align: center; font-size: 13px; color: #6B7280; margin: 22px auto 0;
    background: #F9FAFB; border-radius: 10px; padding: 12px 16px; max-width: 640px;
}

.drmb-bb__chips { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin: 10px 0 24px; }
.drmb-bb__chip {
    border: 2px solid #E5E7EB; background: #fff; border-radius: 10px; padding: 12px 26px;
    font-size: 16px; font-weight: 600; cursor: pointer; color: #374151;
}
.drmb-bb__chip:hover { border-color: #43A047; color: #2E7D32; background: #F2F9F3; }

.drmb-bb__questions { max-width: 720px; margin: 0 auto; }
.drmb-bb__q { margin-bottom: 26px; }
.drmb-bb__q-title { font-weight: 600; margin: 0 0 10px; font-size: 15.5px; }
.drmb-bb__opts { display: flex; gap: 10px; flex-wrap: wrap; }
.drmb-bb__opt {
    border: 2px solid #E5E7EB; border-radius: 999px; padding: 8px 22px; cursor: pointer;
    font-size: 14.5px; font-weight: 600; color: #374151; background: #fff;
}
.drmb-bb__opt input { position: absolute; opacity: 0; pointer-events: none; }
.drmb-bb__opt:has(input:checked) { border-color: #43A047; background: #F2F9F3; color: #2E7D32; }
.drmb-bb__opt:hover { border-color: #43A047; }

.drmb-bb__cond-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; }
.drmb-bb__cond {
    display: block; border: 2px solid #E5E7EB; border-radius: 12px; padding: 14px;
    cursor: pointer; background: #fff;
}
.drmb-bb__cond input { position: absolute; opacity: 0; pointer-events: none; }
.drmb-bb__cond strong { display: block; margin-bottom: 4px; font-size: 15px; }
.drmb-bb__cond span { font-size: 13px; color: #6B7280; line-height: 1.45; }
.drmb-bb__cond:has(input:checked) { border-color: #43A047; background: #F2F9F3; }

.drmb-bb__cta {
    display: inline-block; background: #43A047; color: #fff; border: 0; border-radius: 999px;
    padding: 14px 34px; font-size: 16px; font-weight: 700; cursor: pointer; text-decoration: none;
    transition: background .15s;
}
.drmb-bb__cta:hover { background: #2E7D32; }
.drmb-bb__cta[disabled] { opacity: .6; cursor: not-allowed; }
.drmb-bb__back {
    display: block; margin: 18px auto 0; background: none; border: 0; color: #6B7280;
    cursor: pointer; font-size: 14px; text-decoration: underline;
}

.drmb-bb__error, .drmb-bb__error-msg { color: #DC2626; text-align: center; font-weight: 600; }
.drmb-bb__loading { text-align: center; padding: 40px 0; color: #6B7280; }

.drmb-bb__result { text-align: center; margin-bottom: 26px; }
.drmb-bb__result-device { font-weight: 600; color: #6B7280; margin: 0 0 6px; }
.drmb-bb__price { font-size: 22px; margin: 0 0 8px; }
.drmb-bb__price span { font-size: 46px; font-weight: 800; color: #2E7D32; }
.drmb-bb__note { font-size: 13px; color: #6B7280; max-width: 480px; margin: 0 auto; }

.drmb-bb__form { max-width: 640px; margin: 0 auto; border: 1px solid #E5E7EB; border-radius: 16px; padding: 26px; background: #FAFBFC; }
.drmb-bb__form h4 { margin: 0 0 16px; text-align: center; }
.drmb-bb__fields { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.drmb-bb__fields label { font-size: 13.5px; font-weight: 600; color: #374151; }
.drmb-bb__fields input, .drmb-bb__fields textarea {
    display: block; width: 100%; margin-top: 5px; border: 1px solid #D1D5DB; border-radius: 8px;
    padding: 10px 12px; font-size: 14.5px; background: #fff; font-family: inherit;
}
.drmb-bb__fields input:focus, .drmb-bb__fields textarea:focus { outline: 2px solid #43A047; border-color: #43A047; }
.drmb-bb__wide { grid-column: 1 / -1; }
.drmb-bb__hp { position: absolute !important; left: -9999px !important; height: 1px; width: 1px; opacity: 0; }
.drmb-bb__consent { display: flex; gap: 8px; align-items: flex-start; font-size: 13px; color: #6B7280; margin: 16px 0; }
.drmb-bb__consent input { margin-top: 2px; }
.drmb-bb__form .drmb-bb__cta { width: 100%; }

.drmb-bb__done { text-align: center; max-width: 560px; margin: 0 auto; }
.drmb-bb__done-icon {
    width: 64px; height: 64px; border-radius: 50%; background: #43A047; color: #fff;
    font-size: 34px; line-height: 64px; margin: 0 auto 18px;
}
.drmb-bb__done h3 { margin: 0 0 10px; }
.drmb-bb__done p { color: #4B5563; line-height: 1.6; }
.drmb-bb__done .drmb-bb__cta { margin-top: 14px; }

@media (max-width: 640px) {
    .drmb-bb__fields { grid-template-columns: 1fr; }
    .drmb-bb__price span { font-size: 38px; }
}
