/* Price list page: the data-table kit, constrained and centred. */

.price-list-page { padding-block: 32px 48px; max-width: 960px; margin-inline: auto; }
/* The contact band right below shares this page's own narrower column — a
   device sweep's alignment check found these two ARE siblings under <main>
   with the same tag+first-class "role" (both div.container), so it compares
   their left edges: .price-list-page's own 960px max-width vs the default
   .container's 1200px, each centered independently in the viewport, drift
   measured at exactly 120px at 1280px width (the two boxes' half-margins). */
.price-list-page + .container { max-width: 960px; margin-inline: auto; }
.price-list-page h1 { margin-bottom: 12px; }
.price-list-intro { color: var(--ink-2); max-width: 65ch; margin-bottom: 20px; }
.price-list-page .source-line { margin-top: 16px; }
/* The search field shouldn't stretch to fill the row next to a 3-way filter —
   capped and grouped with it on one row, wrapping together on phones (the
   shared .table-toolbar is already flex-wrap; dealers' 3-control toolbar
   keeps the wider default). */
.price-list-page .search-input-wrap { flex: 0 1 320px; max-width: 320px; min-width: 220px; }

.col-with, .col-without { font-weight: 600; }

.price-row-model { display: flex; align-items: center; gap: 12px; min-width: 44px; }
.price-row-compare { display: inline-block; margin-top: 4px; margin-left: 108px; font-size: 0.8rem; color: var(--ink-2); }
@media (max-width: 639px) {
  .price-row-compare { margin-left: 0; }
}
.price-row-thumb { width: 96px; height: 64px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; background: var(--surface-2); border-radius: 8px; overflow: hidden; }
.price-row-thumb img { width: 100%; height: 100%; object-fit: contain; }
/* The 64px-tall thumbnail already clears the 44px touch-target floor
   whenever a row has one; this is only a floor for the rare row without a
   thumbnail (text-only link) — no padding here, unlike .sort-btn below,
   because padding would grow every OTHER row's already-tall cell for no
   reason. */
@media (pointer: coarse) {
  .price-row-model { min-height: 44px; }
}

.sort-btn {
  border: none;
  background: transparent;
  font: inherit;
  font-size: 0.85rem;
  color: var(--ink-2);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 0;
}
/* Touch target floor for the sort header buttons (measured live: 22px tall,
   the plain text line-height with no padding) — padding grows the button's
   own box to 44px, a matching negative margin keeps the header row's visual
   height unchanged. Lives here, not in core.css's shared pointer-coarse rule,
   because `.sort-btn`'s own `padding: 0` above is defined AFTER core.css in
   the cascade (price-list.css loads second) and was silently winning over a
   shared rule's `padding-block` at equal specificity — same specificity ties
   break on source order, not on which selector is inside a media query. */
@media (pointer: coarse) {
  .sort-btn {
    min-height: 44px;
    padding-block: 11px;
    margin-block: -11px;
  }
}

/* A labelled brand pill, not a bare icon circle — "Chat WA" reads as an
   action, not a mystery button. Icon-only (44x44, name kept in aria-label)
   only below 640px where there's no room for the label. */
.wa-row-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 44px;
  padding-inline: 16px;
  border-radius: var(--r-pill);
  background: var(--brand);
  color: #fff;
  flex-shrink: 0;
  font-weight: 600;
  font-size: 0.9rem;
  white-space: nowrap;
}
.wa-row-btn:hover { background: var(--brand-strong); }

@media (max-width: 639px) {
  .wa-row-btn { width: 44px; padding-inline: 0; }
  .wa-row-btn__label { display: none; }
  .wa-row-btn { margin-top: 8px; }
}
/* The price CARD (below) is spacious, full-width — the icon-only collapse
   above exists for the cramped old table row, not this one; one consistent
   labelled-pill treatment on phones and desktop alike. */
@media (max-width: 639px) {
  .price-card .wa-row-btn { width: 100%; padding-inline: 16px; margin-top: 0; }
  .price-card .wa-row-btn__label { display: inline; }
}

/* Motorbike-only price list: a product row of cards, not a table — 3 items
   is evidence-at-once already, no paging/filter kit left to justify a table. */
.price-cards { display: grid; gap: 20px; margin-block: 4px 24px; }
@media (min-width: 900px) {
  .price-cards { grid-template-columns: repeat(3, 1fr); }
}
.price-card { display: flex; flex-direction: column; gap: 8px; }
/* Bled to the card's own edges (same -16px technique as the model page's
   price-box) so the divider line spans the full card width, top corners
   matching the card's own radius; white, not the usual grey inner box —
   there's no OTHER content in this card competing with the photo for
   attention, so the grey box read as a redundant frame. */
.price-card__media {
  aspect-ratio: 4 / 3;
  background: #fff;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: -16px -16px 12px;
  border-bottom: 1px solid var(--line);
  border-radius: var(--r-card) var(--r-card) 0 0;
}
.price-card__media img { width: 100%; height: 100%; object-fit: contain; }
.price-card h3 { margin: 4px 0 0; }
.price-card__name { color: inherit; text-decoration: none; }
.price-card__name:hover { text-decoration: underline; }
.price-card__price-label { margin: 0; color: var(--ink-2); font-size: 0.85rem; }
.price-card__price { margin: 0; font-weight: 700; font-size: 1.35rem; }
.price-card .chip--key { align-self: flex-start; }
.price-card__actions { display: flex; flex-direction: column; gap: 10px; margin-top: auto; padding-top: 4px; }
.price-card__actions .wa-row-btn { width: 100%; }
/* A quiet text link with an arrow, not a second button — the same treatment
   .next-steps (model.css) already uses for a secondary next-step link. */
.price-card__compare {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--brand);
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  width: fit-content;
}
.price-card__compare:hover { text-decoration: underline; }
@media (pointer: coarse) {
  .price-card__compare { min-height: 44px; padding-block: 10px; margin-block: -10px; }
}
.price-list-note { color: var(--ink-2); }

