/* Shred Finder — My bikes page (/mine): compare columns on top, saved cards below */

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

.mine-section {
    margin-top: 22px;
    padding: 22px 24px;
    border-radius: 22px;
    border: 1px solid var(--sf-line);
    background: var(--sf-surface);
    animation: sf-rise var(--sf-slow) var(--sf-ease) both;
}

.mine-section + .mine-section {
    animation-delay: 80ms;
}

.mine-section > h3 {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 800;
    font-size: 1.8rem;
    text-transform: uppercase;
    margin: 0 0 12px;
    color: var(--sf-orange);
}

.mine-section:last-child > h3 {
    color: var(--sf-lime);
}

.mine-section .favs-for {
    color: var(--sf-text);
    background: var(--sf-surface-2);
    border: 1px dashed var(--sf-line);
    animation: none;
}

/* ── Compare: up to 3 equal columns; every column lists the same specs in the
   same order so the rows line up — on phones the columns stack ── */
.compare-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 16px;
}

.compare-card {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 16px;
    border-radius: 18px;
    border: 1px solid var(--sf-line);
    background: var(--sf-surface-2);
    animation: sf-pop var(--sf-slow) var(--sf-bounce) both;
}

.compare-card:nth-child(2) { animation-delay: 60ms; }
.compare-card:nth-child(3) { animation-delay: 120ms; }

.compare-card img.bike-art {
    width: 100%;
    height: 120px;
    object-fit: contain;
}

.compare-card h3 {
    font-size: 1.15rem;
    margin: 8px 0 2px;
}

.compare-specs {
    margin: 10px 0 14px;
    border-top: 1px solid var(--sf-line);
}

.compare-specs .cmp-row {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    padding: 8px 0;
    border-bottom: 1px solid var(--sf-line);
    font-size: 0.92rem;
}

.compare-specs .cmp-row p {
    margin: 0;
}

.cmp-label p,
.cmp-label {
    color: var(--sf-muted);
    font-weight: 600;
}

.cmp-value p,
.cmp-value {
    color: var(--sf-text);
    text-align: right;
}

.compare-card .details-btn button {
    width: 100%;
}

.compare-card > .details-btn {
    margin-top: auto;
}

/* "Clear …" buttons — quiet outline, red on hover */
.clear-btn {
    margin-top: 14px;
}

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

.clear-btn .zDialog-feedback {
    display: none;
}

.clear-btn button {
    padding: 8px 16px !important;
    border-radius: 999px !important;
    font-size: 0.85rem !important;
    color: var(--sf-muted) !important;
    background: transparent !important;
    border: 1px solid var(--sf-line) !important;
    box-shadow: none !important;
}

.clear-btn button:hover {
    color: #ff6b6b !important;
    border-color: #ff6b6b !important;
}
