/* ── Compare hubs (/compare/brand, /compare/brand/{brand}) ─────────────────
   The frame, crumbs and hero are the /page hub's (selection-page.css); the
   letter nav and the pager are plain .chip-row links (components.css). Only
   the two link lists live here. */

/* .chip hovers only as a <button> in components.css; these chips are links. */
@media (hover: hover) {
    .cmp-hub a.chip:hover { border-color: var(--pink-highlight); color: var(--pink-highlight); }
}
.cmp-hub .chip { text-decoration: none; }

.cmp-hub-letters { margin-bottom: 24px; }

.cmp-hub-group { scroll-margin-top: 80px; }
.cmp-hub-group + .cmp-hub-group { margin-top: 24px; }

.cmp-hub-letter {
    margin: 0 0 12px;
    padding-bottom: 6px;
    border-bottom: 1px solid var(--border-color);
    font-size: var(--fs-lg);
    font-weight: 700;
}

.cmp-hub-brands,
.cmp-hub-pages {
    list-style: none;
    margin: 0;
    padding: 0;
}

.cmp-hub-brands {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px 20px;
}
.cmp-hub-brands li {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}
.cmp-hub-brands a {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.cmp-hub-pages li {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    padding: 10px 0;
    border-bottom: 1px solid var(--border-color);
}
.cmp-hub-pages a { min-width: 0; }
.cmp-hub-meta {
    display: flex;
    gap: 12px;
    flex: 0 0 auto;
    font-size: var(--fs-xs);
    color: var(--text-light);
    white-space: nowrap;
}
.cmp-hub-price { color: var(--pink-highlight); font-weight: 600; }

.cmp-hub-pager { margin-top: 24px; }

@media (max-width: 900px) {
    .cmp-hub-brands { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
    .cmp-hub-pages li { flex-direction: column; gap: 4px; }
}
