/* Shred Finder — Used page (/used): price checker panel, used-price cards, checklist
   (condition pills share .pill-choice from favourites.css) */

.used-page {
    max-width: 1120px;
    margin: 0 auto;
}

/* the checker: bike name + age on one line, condition pills underneath */
.used-checker {
    padding: 20px 22px;
    border-radius: 20px;
    border: 2px solid rgba(255, 122, 26, 0.45);
    background:
        radial-gradient(circle at 100% 0%, rgba(255, 122, 26, 0.14), transparent 45%),
        var(--sf-surface);
    animation: sf-pop var(--sf-slow) var(--sf-ease) 80ms both;
}

.used-checker .zDialog-container {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
}

.used-checker .zDialog-form {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
    gap: 14px;
}

.used-checker .zDialog-form > :has(.zForm-check-group),
.used-checker .zDialog-feedback {
    grid-column: 1 / -1;
}

.used-checker .zDialog-form > .zmb-3 {
    margin: 0 !important;
}

.used-checker .zDialog-feedback:empty {
    display: none;
}

.used-checker .zForm-control,
.used-checker .zSelect {
    height: 52px;
    border-radius: 999px !important;
    padding: 0 20px;
}

.used-results {
    margin-top: 22px;
}

.used-results .favs-for {
    background: var(--sf-orange);
    color: #10160f;
    margin-bottom: 14px;
}

/* new price struck through, fair used price is the hero */
.used-new {
    color: var(--sf-muted);
    text-decoration: line-through;
    margin: 6px 0 2px;
}

.used-fair p,
.used-fair {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 800;
    font-size: 1.5rem;
    line-height: 1.1;
    color: var(--sf-lime);
    margin: 0 0 14px;
}

.used-checklist {
    margin: 36px 0 12px;
    padding: 20px 24px;
    border-radius: 18px;
    border: 1px solid var(--sf-line);
    background: var(--sf-surface);
}

.used-checklist h3 {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 800;
    font-size: 1.6rem;
    text-transform: uppercase;
    color: var(--sf-orange);
    margin: 0 0 10px;
}

.used-checklist li {
    margin: 6px 0;
    color: var(--sf-text);
}

.used-checklist li::marker {
    color: var(--sf-lime);
}

@media (max-width: 640px) {
    .used-checker .zDialog-form { grid-template-columns: 1fr; }
}

/* a live repaint (zDelta $Used.Prices) nests the fresh block inside the old one */
.used-results .used-results {
    margin-top: 0;
}
