/* FlamingBikes catalog. The Cars kit part is copied verbatim from _fleet/cars-bikes-kit/catalog.css (from flamingcars catalog.html), 2026-10-07.
   Load after tracker-style.css. Needs the kit classes: .welcome-card .seg-tabs .seg-tab .items-list .verdict .chip .watch-eye .input .btn .empty-state */
/* Tracker style kit: page heading = .welcome-card, filters = .seg-tabs, the makes = ONE crystal
   .items-list whose rows behave like .item-row (hairline split, white/6 hover, 3px flame bar),
   tiers = .verdict pills, fuel = .chip. Only Cars-specific layout lives here. */
.cat-hint{margin-top:.5rem;font-size:.85rem;color:#9ca3af}
.cat-hint a{color:#f97316;text-decoration:none;font-weight:600}
.cmp-ico{display:inline-flex;vertical-align:-2px;color:#f97316}.cmp-ico svg{width:.95rem;height:.95rem}

/* filter bar */
.cat-tools{display:flex;flex-wrap:wrap;gap:.75rem;align-items:center;margin:0 0 1rem}
.cat-search{position:relative;flex:1;min-width:14rem}
.cat-search svg{position:absolute;left:.85rem;top:50%;transform:translateY(-50%);width:1.1rem;height:1.1rem;color:#6b7280;pointer-events:none}
.cat-search .input{padding-left:2.6rem}
.cat-select.input{width:auto;padding-right:2rem;cursor:pointer;-webkit-appearance:none;appearance:none;color-scheme:dark;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%239ca3af' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right .65rem center}
.cat-tools .seg-tabs{overflow-x:auto;scrollbar-width:none;max-width:100%}
.cat-tools .seg-tabs::-webkit-scrollbar{display:none}
.cat-tools .seg-tab{flex-shrink:0;white-space:nowrap;text-transform:capitalize}
.seg-tab[data-fuel="lpg"]{text-transform:uppercase}

/* makes: one crystal list */
.brand-head{position:relative;display:flex;align-items:center;gap:1rem;width:100%;padding:.9rem 1.25rem;background:none;border:none;border-bottom:1px solid var(--border-subtle);cursor:pointer;font-family:inherit;text-align:left;color:inherit;transition:background .15s}
.brand-head::before{content:'';position:absolute;left:0;top:0;bottom:0;width:3px;background:var(--accent-gradient);opacity:0;transition:opacity .2s}
.brand-head:hover{background:var(--bg-hover)}
.brand-head:hover::before,.brand-sec.open .brand-head::before{opacity:1}
.brand-sec:last-child .brand-head{border-bottom:none}
.brand-sec.open .brand-head{border-bottom:1px solid var(--border-subtle)}
/* --bc is the marque colour, set inline per row: the row's thumb. */
.brand-badge{flex-shrink:0;display:flex;align-items:center;justify-content:center;width:40px;height:40px;border-radius:var(--radius-md);background:var(--bc);color:#fff;font-family:var(--font-mono);font-size:.78rem;font-weight:700;letter-spacing:.02em}
.brand-badge.len3{font-size:.64rem;letter-spacing:0}
.mk-text{flex:1;min-width:0}
.brand-name{display:block;font-size:.875rem;font-weight:600;color:var(--text-primary);line-height:1.3}
.brand-preview{display:block;font-size:.75rem;color:var(--text-tertiary);margin-top:.15rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.brand-side{flex-shrink:0;display:flex;flex-direction:column;align-items:flex-end;gap:.2rem}
.brand-count{font-family:var(--font-mono);font-size:.7rem;color:var(--text-tertiary);white-space:nowrap}
.brand-pips{display:flex;gap:.3rem}
.pip{display:inline-flex;align-items:center;gap:.22rem;font-family:var(--font-mono);font-size:.65rem;font-weight:700;color:#6b7280}
.pip::before{content:'';width:.4rem;height:.4rem;border-radius:50%;background:currentColor}
.pip.pick{color:#22c55e}.pip.warn{color:#f59e0b}
.brand-caret{width:1rem;height:1rem;color:#4b5563;transition:transform .2s;flex-shrink:0}
.brand-sec.open .brand-caret{transform:rotate(90deg);color:var(--accent)}
.cat-grid{display:none;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:.75rem;padding:1rem 1.25rem 1.25rem;border-bottom:1px solid var(--border-subtle);background:rgba(255,255,255,.015)}
.brand-sec:last-child .cat-grid{border-bottom:none}
.brand-sec.open .cat-grid{display:grid}

/* guide cards: crystal cards, row-style hover */
.vcard{position:relative;display:flex;flex-direction:column;background:var(--bg-card);border:1px solid var(--border);border-radius:var(--radius-md);padding:1rem 1.1rem;text-decoration:none;overflow:hidden;transition:border-color .15s,background .15s}
.vcard::before{content:'';position:absolute;left:0;top:0;bottom:0;width:3px;background:var(--accent-gradient);opacity:0;transition:opacity .2s}
.vcard:hover{background:var(--bg-hover);border-color:var(--border-hover)}
.vcard:hover::before{opacity:1}
.vcard-top{display:flex;align-items:flex-start;justify-content:space-between;gap:.5rem}
.vcard-make{font-size:.7rem;font-weight:600;color:var(--accent);text-transform:uppercase;letter-spacing:.06em}
.vcard-model{font-size:1rem;font-weight:600;color:#fff;margin:.1rem 0 0;line-height:1.25}
.vcard-meta{color:var(--text-secondary);font-size:.8rem;margin-top:.25rem}
.vcard-fuels{display:flex;flex-wrap:wrap;gap:.3rem;margin-top:.7rem}
.vcard-fuels .chip{text-transform:capitalize}.vcard-fuels .chip.lpg{text-transform:uppercase}
/* neutral chip + the same small coloured fuel dot as the guide's engine tabs (Phil, 2026-09-28) */
.fuel-dot{display:inline-block;width:.45rem;height:.45rem;border-radius:50%;margin-right:.3rem;vertical-align:1px}
.fuel-dot.diesel{background:#60a5fa}.fuel-dot.petrol{background:#fb923c}.fuel-dot.hybrid{background:#4ade80}.fuel-dot.lpg{background:#a78bfa}.fuel-dot.electric{background:#2dd4bf}
.vcard-foot-inner{display:flex;align-items:center;justify-content:space-between;width:100%;margin-top:.8rem;padding-top:.7rem;border-top:1px solid var(--border-subtle)}
.vcard-price{font-family:var(--font-mono);font-weight:700;color:var(--text-primary);font-size:.85rem}
.vcard-actions{display:flex;flex-direction:column;align-items:flex-end;gap:.35rem;flex-shrink:0}
.vcard-actions .verdict{margin-top:0}
/* compare toggle = Tracker's square .watch-eye icon button */
.vcard-actions .watch-eye svg{width:.95rem;height:.95rem}
.watch-eye.on{color:var(--accent);border-color:var(--accent);background:var(--accent-muted)}   /* = .watch-eye.active; compare.js toggles .on */
.watch-eye.full{opacity:.35}

#cat-empty{display:none;margin-top:1rem}
@media(max-width:768px){
  .cat-tools{gap:.5rem}
  .cat-search{flex-basis:100%}
  .cat-select.input{flex:1}
  .brand-head{gap:.75rem;padding:.6rem .7rem}
  .cat-grid{padding:.75rem .7rem .9rem;grid-template-columns:1fr}
}

/* ==== FlamingBikes additions (2026-10-07). Everything above is the Cars kit, verbatim. ==== */
/* Second filter row: LAMS + engine size (seg-tabs), then rider fit (seat, weight). */
/* min-width:0 (page kit 360 rule 2, 2026-10-19): without it the seat/weight rows kept their full width (438px at 360)
   and were clipped by the page instead of scrolling inside their pill track. */
.cat-fit{display:flex;flex-wrap:wrap;gap:.75rem;align-items:center;flex-basis:100%;min-width:0;max-width:100%}
.cat-fit-row{display:flex;align-items:center;gap:.5rem;min-width:0;max-width:100%}
.cat-fit-row .seg-tabs{min-width:0;overflow-x:auto;scrollbar-width:none}
.cat-fit-row .seg-tabs::-webkit-scrollbar{display:none}
.cat-fit-row .seg-tab{flex-shrink:0;white-space:nowrap}
.cat-fit-lbl{font-size:.7rem;font-weight:600;color:var(--text-tertiary);text-transform:uppercase;letter-spacing:.04em}
.cat-n{font-family:var(--font-mono);font-size:.65rem;opacity:.7;margin-left:.1rem}
.cat-fit-note{flex-basis:100%;font-size:.75rem;color:var(--text-tertiary);margin:0;line-height:1.5}
.cat-tools .seg-tab[data-cap]{text-transform:none}           /* "126-400cc", "LAMS" are already cased */
/* Green is reserved for LAMS across Bikes: a legal fact, never confused with the rating pills. */
.seg-tab.lams:not(.active){color:#4ade80}
.fuel-dot.lams{background:#4ade80}.fuel-dot.lams-some{background:#f59e0b}
.fuel-dot.electric{background:#2dd4bf}
.vcard-fuels .chip{text-transform:none}
.cat-hint .sep{color:var(--text-tertiary)}
/* Compare toggle: compare.js reveals it and toggles .on; aria-disabled when the list is full. */
.watch-eye[aria-disabled="true"]{opacity:.35;cursor:not-allowed}
.watch-eye[hidden]{display:none}

/* Marques we cover but haven't written up: the shape of the market, not content, so visually
   inert (no caret, no hover). Hidden while filtering, because they aren't results. */
.up-wrap{margin-top:2rem}
.up-head{display:flex;align-items:baseline;gap:.6rem;margin:0 0 .35rem}
.up-head h2{font-size:1.125rem;font-weight:600;color:var(--text-primary);margin:0}
.up-head .n{font-family:var(--font-mono);font-size:.75rem;color:var(--text-tertiary)}
.up-note{font-size:.85rem;color:var(--text-secondary);margin:0 0 1rem;max-width:62ch;line-height:1.55}
.up-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:.75rem}
.up-item{display:flex;align-items:flex-start;gap:.75rem;padding:.9rem 1rem}
.up-item .brand-badge{width:32px;height:32px;font-size:.68rem;opacity:.8}
.up-item .brand-badge.len3{font-size:.56rem}
.up-name{display:block;font-size:.875rem;font-weight:600;color:var(--text-primary);line-height:1.3}
.up-blurb{display:block;font-size:.75rem;color:var(--text-tertiary);margin-top:.2rem;line-height:1.5}
.up-tag{margin-left:.4rem;vertical-align:1px}
@media(max-width:768px){
  .cat-fit{gap:.5rem}
  .cat-fit-row{flex-basis:100%}
  .up-grid{grid-template-columns:1fr}
}
