/* ============================================================
   paultan.org/used-cars — styles
   Native extension of the paultan.org (Breezy) visual language,
   same idiom as /research/: Arial · #f3f3f3 ground · white
   10px-radius cards with rgba(0,0,0,.08) borders · soft shadows
   · #a60f0f red pills · black sticky appbar · white colophon.
   ============================================================ */

:root {
  --red:        #a60f0f;
  --red-dark:   #8a0c0c;
  --ink:        #1a1a1a;
  --muted:      #63666f;
  --ground:     #f3f3f3;
  --card-line:  rgba(0, 0, 0, .08);
  --chip-bg:    #f4f4f5;
  --rule-soft:  #f0f0f0;
  --wa:         #1faf54;
  --wa-dark:    #128a40;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: Arial, sans-serif;
  font-size: 14px;
  line-height: 1.45;
}
a { color: inherit; }
img { display: block; max-width: 100%; height: auto; }

.uc-wrap { max-width: 700px; margin: 0 auto; padding-left: 10px; padding-right: 10px; }

/* ── App bar — same black sticky bar as the main site ──── */

.uc-top {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(0, 0, 0, .97);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.uc-top-in { height: 56px; display: flex; align-items: center; gap: 10px; }
.uc-brand { line-height: 0; flex: none; }
.uc-brand img { width: 104px; height: auto; }
.uc-section {
  flex: none;
  font-size: 10px;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: #000;
  background: #fff;
  border-radius: 999px;
  padding: 4px 10px;
  text-decoration: none;
  white-space: nowrap;
}
.uc-search { display: flex; flex: 1; max-width: 190px; margin-left: auto; min-width: 0; }
.uc-search input {
  width: 100%;
  min-width: 0;
  font-family: Arial, sans-serif;
  font-size: 13px;
  color: #fff;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 999px 0 0 999px;
  border-right: 0;
  padding: 8px 6px 8px 14px;
  -webkit-appearance: none;
  appearance: none;
}
.uc-search input::placeholder { color: #b5b5b5; }
.uc-search input:focus { outline: 0; background: rgba(255,255,255,.18); border-color: rgba(255,255,255,.4); }
.uc-search button {
  flex: none;
  width: 38px;
  border: 1px solid rgba(255,255,255,.18);
  border-left: 0;
  border-radius: 0 999px 999px 0;
  background: rgba(255,255,255,.12);
  color: #cfcfcf;
  cursor: pointer;
  display: grid;
  place-items: center;
  -webkit-appearance: none;
  appearance: none;
}
@media (hover:hover) { .uc-search button:hover { color: #fff; } }

/* ── Hero big search ──────────────────────────────────── */

.uc-bigsearch { display: flex; gap: 8px; max-width: 560px; margin: 16px auto 0; }
.uc-bigsearch input {
  flex: 1;
  min-width: 0;
  font-family: Arial, sans-serif;
  font-size: 16px;            /* >=16px stops iOS zoom-on-focus */
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--card-line);
  border-radius: 999px;
  padding: 11px 18px;
  box-shadow: 0 1px 2px rgba(0,0,0,.04);
  -webkit-appearance: none;
  appearance: none;
}
.uc-bigsearch input:focus { outline: 0; border-color: var(--red); }
.uc-bigsearch button {
  font-family: Arial, sans-serif;
  font-size: 14px;
  font-weight: bold;
  color: #fff;
  background: var(--red);
  border: 0;
  border-radius: 999px;
  padding: 11px 20px;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
}
@media (hover:hover) { .uc-bigsearch button:hover { background: var(--red-dark); } }

/* ── Filter bar (facet dropdowns) ─────────────────────── */

.uc-filters-wrap { margin-top: 14px; }
.uc-filterbar { display: flex; flex-wrap: wrap; gap: 7px; align-items: center; }
.uc-filter { position: relative; }
.uc-filter > summary {
  list-style: none;
  cursor: pointer;
  font-size: 12.5px;
  font-weight: bold;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--card-line);
  border-radius: 999px;
  padding: 8px 14px;
  white-space: nowrap;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
}
.uc-filter > summary::-webkit-details-marker { display: none; }
.uc-filter > summary::after { content: ' \25BE'; color: var(--muted); font-weight: normal; }
.uc-filter > summary b { color: #fff; background: var(--red); border-radius: 999px;
  padding: 1px 6px; font-size: 10.5px; margin-left: 3px; }
.uc-filter[open] > summary { border-color: var(--red); color: var(--red); }
.uc-filter-pop {
  position: absolute;
  z-index: 60;
  top: calc(100% + 6px);
  left: 0;
  min-width: 230px;
  max-width: 300px;
  background: #fff;
  border: 1px solid var(--card-line);
  border-radius: 10px;
  box-shadow: 0 10px 30px -8px rgba(0,0,0,.25);
  padding: 6px 0 0;
}
.uc-filter-opts { max-height: 290px; overflow-y: auto; padding: 4px 14px 8px; display: grid; gap: 2px; }
.uc-filter-opts label { display: flex; align-items: center; gap: 8px; font-size: 13px;
  padding: 5px 0; cursor: pointer; }
.uc-filter-opts label span { color: var(--muted); font-size: 11.5px; margin-left: auto; }
.uc-filter-opts input { accent-color: var(--red); width: 15px; height: 15px; flex: none; }
.uc-filter-price { display: flex; gap: 10px; padding: 8px 14px 4px; }
.uc-filter-price label { font-size: 11.5px; color: var(--muted); display: grid; gap: 3px; }
.uc-filter-price select { font-family: Arial, sans-serif; font-size: 13px; border: 1px solid var(--card-line);
  border-radius: 7px; padding: 6px 8px; background: #fff; }
.uc-filter-apply {
  display: block;
  width: calc(100% - 28px);
  margin: 6px 14px 12px;
  font-family: Arial, sans-serif;
  font-size: 13px;
  font-weight: bold;
  color: #fff;
  background: var(--red);
  border: 0;
  border-radius: 999px;
  padding: 9px 0;
  cursor: pointer;
}
@media (hover:hover) { .uc-filter-apply:hover { background: var(--red-dark); } }
.uc-sortpill { margin-left: auto; font-size: 12px; color: var(--muted); display: flex;
  align-items: center; gap: 7px; }
.uc-sortpill select { font-family: Arial, sans-serif; font-size: 13px; color: var(--ink);
  border: 1px solid var(--card-line); background: #fff; border-radius: 999px; padding: 8px 12px; }

/* mobile: popovers become a bottom sheet */
@media (max-width: 700px) {
  .uc-filter[open]::before {
    content: '';
    position: fixed;
    inset: 0;
    z-index: 55;
    background: rgba(0,0,0,.45);
  }
  .uc-filter-pop {
    position: fixed;
    z-index: 60;
    left: 0; right: 0; bottom: 0; top: auto;
    max-width: none;
    border-radius: 14px 14px 0 0;
    padding-bottom: env(safe-area-inset-bottom);
  }
  .uc-filter-opts { max-height: 46vh; }
}

/* active filter chips */
.uc-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.uc-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  font-weight: bold;
  color: #fff;
  background: var(--ink);
  border-radius: 999px;
  padding: 6px 12px;
  text-decoration: none;
}
.uc-chip span { color: #b9bbc0; font-size: 14px; line-height: 1; }
@media (hover:hover) { .uc-chip:hover { background: var(--red); } .uc-chip:hover span { color: #fff; } }
.uc-chip-clear { background: transparent; color: var(--muted); border: 1px solid var(--card-line); }
@media (hover:hover) { .uc-chip-clear:hover { background: transparent; color: var(--red); border-color: var(--red); } }

/* ── Breadcrumbs ──────────────────────────────────────── */

.uc-crumbs {
  padding: 12px 10px 0;
  font-size: 12px;
  color: var(--muted);
  white-space: nowrap;
  overflow-x: auto;
  scrollbar-width: none;
}
.uc-crumbs::-webkit-scrollbar { display: none; }
.uc-crumbs a { color: var(--muted); text-decoration: none; }
@media (hover:hover) { .uc-crumbs a:hover { color: var(--red); } }
.uc-crumb-sep { margin: 0 6px; color: #c9c9c9; }

/* ── Hero ─────────────────────────────────────────────── */

.uc-hero { padding: 26px 0 8px; text-align: center; }
.uc-hero-scope { text-align: left; padding-bottom: 2px; }
.uc-hero h1 { margin: 0; font-size: 24px; font-weight: bold; line-height: 1.2; }
.uc-hero h1 em { font-style: normal; color: var(--red); }
.uc-hero-sub { max-width: 520px; margin: 8px auto 0; font-size: 13px; color: var(--muted); }
.uc-hero-scope .uc-hero-sub { margin-left: 0; }
.uc-hero-sub strong { color: var(--ink); }

.uc-kicker {
  display: block;
  margin: 0 0 6px;
  font-size: 11px;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--muted);
}
.uc-kicker a { color: inherit; text-decoration: none; }
@media (hover:hover) { .uc-kicker a:hover { color: var(--red); } }

/* ── Section heads — centered bold, like the homepage ─── */

.uc-sechead { margin: 30px 0 14px; text-align: center; }
.uc-sechead h2 { margin: 0; font-size: 20px; font-weight: bold; }
.uc-sechead .uc-eyebrow {
  display: block;
  margin: 0 0 3px;
  font-size: 11px;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--muted);
}
.uc-results-h1 { margin: 0; font-size: 22px; font-weight: bold; }
.uc-results-n { margin-left: 10px; font-size: 12px; font-weight: normal; color: var(--muted); white-space: nowrap; }

/* ── Make / model chips ───────────────────────────────── */

.uc-make-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.uc-make-chip {
  display: block;
  background: #fff;
  border: 1px solid var(--card-line);
  border-radius: 10px;
  padding: 11px 13px;
  text-decoration: none;
  box-shadow: 0 1px 3px rgba(0,0,0,.06), 0 1px 2px rgba(0,0,0,.04);
  transition: box-shadow .15s ease;
  -webkit-tap-highlight-color: transparent;
}
.uc-make-chip strong { display: block; font-size: 14px; font-weight: bold; line-height: 1.25; transition: color .15s ease; }
.uc-make-chip span { font-size: 11px; color: var(--muted); }
@media (hover:hover) {
  .uc-make-chip:hover { box-shadow: 0 4px 12px rgba(0,0,0,.08), 0 2px 4px rgba(0,0,0,.06); }
  .uc-make-chip:hover strong { color: var(--red); }
}
.uc-make-chip:active { transform: translateY(1px); }

.uc-bodies { margin-top: 14px; }
.uc-body-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 7px; }
.uc-body-chip {
  font-size: 12px;
  font-weight: bold;
  color: var(--ink);
  text-decoration: none;
  background: #fff;
  border: 1px solid var(--card-line);
  border-radius: 999px;
  padding: 7px 13px;
  white-space: nowrap;
  -webkit-tap-highlight-color: transparent;
}
.uc-body-chip span { color: var(--muted); font-weight: normal; }
@media (hover:hover) { .uc-body-chip:hover { color: var(--red); border-color: var(--red); } }

/* ── Listing cards — pt-featured-grid idiom ───────────── */

.uc-grid { display: grid; grid-template-columns: repeat(2, 1fr); align-items: start; gap: 12px; }
.uc-card {
  min-width: 0;
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #fff;
  border: 1px solid var(--card-line);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0,0,0,.06), 0 1px 2px rgba(0,0,0,.04);
  transition: box-shadow .15s ease;
}
@media (hover:hover) {
  .uc-card:hover { box-shadow: 0 4px 12px rgba(0,0,0,.08), 0 2px 4px rgba(0,0,0,.06); }
  .uc-card:hover .uc-card-title a { color: var(--red); }
}
.uc-card-media { position: relative; display: block; background: #ececec; aspect-ratio: 600/384; line-height: 0; }
.uc-card-media img { width: 100%; height: 100%; object-fit: cover; }
.uc-badge-new, .uc-badge-sold {
  position: absolute;
  top: 8px;
  left: 8px;
  font-size: 11px;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: .04em;
  line-height: 1.4;
  color: #fff;
  border-radius: 999px;
  padding: 3px 9px;
}
.uc-badge-new { background: var(--red); }
.uc-badge-sold { background: #1a1a1a; }
.uc-badge-sold-lg { top: 14px; left: 14px; font-size: 13px; padding: 5px 12px; }
.uc-card.is-sold .uc-card-media img { filter: grayscale(.55) contrast(.96); }
.uc-card-body { padding: 10px 12px 12px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.uc-card-title {
  margin: 0;
  font-size: 13px;
  line-height: 1.3;
  font-weight: bold;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.uc-card-title a { text-decoration: none; transition: color .15s ease; }
.uc-card-specs { margin: 0; font-size: 11px; color: var(--muted); }
.uc-card-price { margin: auto 0 0; padding-top: 4px; font-size: 15px; font-weight: bold; color: var(--red); }
.uc-card-price s { color: var(--muted); }
.uc-card-monthly { font-size: 11px; font-weight: normal; color: var(--muted); margin-left: 5px; }

/* ── Sort bar / pagination ────────────────────────────── */

.uc-sortbar { display: flex; justify-content: flex-end; margin: 0 0 12px; }
.uc-sortbar label { font-size: 12px; color: var(--muted); display: flex; align-items: center; gap: 8px; }
.uc-sortbar select {
  font-family: Arial, sans-serif;
  font-size: 13px;
  color: var(--ink);
  border: 1px solid var(--card-line);
  background: #fff;
  border-radius: 999px;
  padding: 7px 12px;
}
.uc-pages {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin: 24px 0 6px;
  font-size: 13px;
  font-weight: bold;
}
.uc-pages a {
  color: var(--ink);
  text-decoration: none;
  background: #fff;
  border: 1px solid var(--card-line);
  border-radius: 999px;
  padding: 8px 16px;
}
@media (hover:hover) { .uc-pages a:hover { color: var(--red); border-color: var(--red); } }
.uc-page-now { color: var(--muted); font-size: 12px; font-weight: normal; }
.uc-empty { padding: 22px 0; font-size: 14px; color: var(--muted); }
.uc-empty a { color: var(--red); }

/* ── Popular list / prose ─────────────────────────────── */

.uc-pop-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr; gap: 0; }
.uc-pop-list a {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: baseline;
  padding: 10px 2px;
  border-bottom: 1px solid var(--card-line);
  text-decoration: none;
  font-size: 13px;
  font-weight: bold;
}
@media (hover:hover) { .uc-pop-list a:hover { color: var(--red); } }
.uc-pop-list span { font-size: 11px; font-weight: normal; color: var(--muted); white-space: nowrap; }
.uc-prose { max-width: 640px; margin: 0 auto; font-size: 14px; color: var(--ink); }
.uc-prose p { margin: 0 0 12px; }
.uc-intro { margin-top: 8px; }
.uc-intro .uc-sechead { margin-top: 30px; }

/* ── Make-page summary, facets, FAQ ───────────────────── */

.uc-summary { margin: 4px auto 0; }
.uc-hero-scope + .uc-summary { margin-left: 0; }
.uc-tagline { margin: 10px 0 0; font-size: 15px; font-weight: bold; color: var(--ink); max-width: 640px; }
.uc-facets .uc-body-row { justify-content: flex-start; margin-bottom: 8px; }
.uc-faq { display: grid; gap: 8px; }
.uc-faq-item {
  background: var(--chip-bg);
  border: 1px solid var(--card-line);
  border-radius: 10px;
  padding: 0 14px;
}
.uc-faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 11px 22px 11px 0;
  font-size: 13.5px;
  font-weight: bold;
  position: relative;
  -webkit-tap-highlight-color: transparent;
}
.uc-faq-item summary::-webkit-details-marker { display: none; }
.uc-faq-item summary::after {
  content: '+';
  position: absolute;
  right: 2px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 17px;
  font-weight: bold;
  color: var(--muted);
}
.uc-faq-item[open] summary::after { content: '\2212'; }
.uc-faq-item p { margin: 0; padding: 0 0 12px; font-size: 13px; color: var(--muted); }

/* ── Data blocks (white cards) ────────────────────────── */

.uc-datablock {
  background: #fff;
  border: 1px solid var(--card-line);
  border-radius: 10px;
  padding: 18px 16px 14px;
  margin-top: 26px;
  box-shadow: 0 1px 3px rgba(0,0,0,.06), 0 1px 2px rgba(0,0,0,.04);
}
.uc-datablock .uc-sechead { margin-top: 0; text-align: left; }
.uc-datablock .uc-prose { margin: 0; max-width: none; color: var(--muted); font-size: 13px; }
.uc-valtable-wrap { overflow-x: auto; margin: 10px 0 4px; }
.uc-valtable { border-collapse: collapse; width: 100%; max-width: 560px; font-size: 13px; }
.uc-valtable th {
  font-size: 11px;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: .06em;
  text-align: left;
  color: var(--muted);
  border-bottom: 2px solid var(--ink);
  padding: 6px 14px 6px 0;
}
.uc-valtable td { border-bottom: 1px solid var(--rule-soft); padding: 7px 14px 7px 0; }
.uc-valtable td:first-child { font-weight: bold; }
.uc-source { font-size: 11px; color: var(--muted); margin: 8px 0 0; }
.uc-source a { color: inherit; }

.uc-bars { display: flex; align-items: flex-end; gap: 6px; margin: 16px 0 2px; overflow-x: auto; padding-bottom: 2px; }
.uc-bar { display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 4px; min-width: 48px; }
.uc-bar-fill { width: 100%; max-width: 54px; background: var(--red); border-radius: 3px 3px 0 0; }
.uc-bar-n { font-size: 10px; color: var(--muted); order: -1; }
.uc-bar-y { font-size: 11px; font-weight: bold; color: var(--muted); }

/* ── Stories ──────────────────────────────────────────── */

.uc-story-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr; gap: 10px; }
.uc-story-list a {
  display: flex;
  gap: 12px;
  align-items: center;
  background: #fff;
  border: 1px solid var(--card-line);
  border-radius: 10px;
  padding: 10px 12px;
  text-decoration: none;
  box-shadow: 0 1px 3px rgba(0,0,0,.06), 0 1px 2px rgba(0,0,0,.04);
  transition: box-shadow .15s ease;
}
@media (hover:hover) {
  .uc-story-list a:hover { box-shadow: 0 4px 12px rgba(0,0,0,.08), 0 2px 4px rgba(0,0,0,.06); }
  .uc-story-list a:hover .uc-story-t { color: var(--red); }
}
.uc-story-list img { width: 90px; height: 60px; object-fit: cover; border-radius: 6px; flex: 0 0 auto; background: #ececec; }
.uc-story-list a > span { min-width: 0; }
.uc-story-t {
  font-size: 13px;
  font-weight: bold;
  line-height: 1.3;
  transition: color .15s ease;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.uc-story-d { display: block; font-size: 11px; color: var(--muted); margin-top: 3px; }

/* ── Listing page ─────────────────────────────────────── */

.uc-listing { padding-top: 16px; }
.uc-soldbar {
  background: #1a1a1a;
  color: #fff;
  border-radius: 10px;
  padding: 12px 16px;
  margin-bottom: 14px;
  font-size: 13px;
}
.uc-soldbar a { color: #ff9d9d; }
.uc-listing-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; align-items: start; }

.uc-gallery { min-width: 0; }
.uc-gallery-main {
  position: relative;
  background: #ececec;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--card-line);
  aspect-ratio: 720/460;
  line-height: 0;
  touch-action: pan-y;   /* horizontal swipes are gallery navigation */
}
.uc-gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.uc-gallery-thumbs { display: flex; gap: 8px; margin-top: 10px; overflow-x: auto; padding-bottom: 4px; }
.uc-thumb {
  flex: 0 0 auto;
  width: 90px;
  height: 60px;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  background: #ececec;
  -webkit-appearance: none;
  appearance: none;
}
.uc-thumb img { width: 100%; height: 100%; object-fit: cover; }
.uc-thumb.is-active { border-color: var(--red); }

/* financing table under the gallery — desktop only */
.uc-finance { display: none; }
.uc-finance-dp td { border-top: 2px solid var(--ink); font-weight: bold; }

.uc-buybox {
  background: #fff;
  border: 1px solid var(--card-line);
  border-radius: 10px;
  box-shadow: 0 1px 3px rgba(0,0,0,.06), 0 1px 2px rgba(0,0,0,.04);
  padding: 16px;
}
.uc-buybox h1 { margin: 2px 0 10px; font-size: 20px; font-weight: bold; line-height: 1.25; }
.uc-buybox .uc-kicker { margin-bottom: 2px; }
.uc-price { margin: 0; font-size: 28px; font-weight: bold; line-height: 1.1; color: var(--red); }
.uc-price-monthly { margin: 4px 0 14px; font-size: 13px; color: var(--muted); }
.uc-price-monthly strong { color: var(--ink); }
.uc-price-monthly span { font-size: 11px; }
.uc-buybox-note { font-size: 12px; color: var(--muted); margin: 10px 0 0; }

.uc-trust {
  list-style: none;
  margin: 14px 0;
  padding: 12px 0 0;
  border-top: 1px solid var(--rule-soft);
  display: grid;
  gap: 6px;
  font-size: 12px;
  color: var(--muted);
}
.uc-trust li { padding-left: 20px; position: relative; }
.uc-trust li::before {
  content: '';
  position: absolute;
  left: 2px;
  top: 4px;
  width: 11px;
  height: 6px;
  border-left: 2px solid var(--wa-dark);
  border-bottom: 2px solid var(--wa-dark);
  transform: rotate(-48deg);
}
.uc-specs { width: 100%; border-collapse: collapse; font-size: 13px; }
.uc-specs th {
  font-size: 11px;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--muted);
  text-align: left;
  padding: 7px 12px 7px 0;
  border-bottom: 1px solid var(--rule-soft);
  width: 40%;
}
.uc-specs td { padding: 7px 0; border-bottom: 1px solid var(--rule-soft); }
.uc-specs tr:last-child th, .uc-specs tr:last-child td { border-bottom: 0; }

/* ── WhatsApp CTA — pill button, WhatsApp green ───────── */

.uc-wa {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  width: 100%;
  min-height: 46px;
  padding: 11px 20px;
  border-radius: 999px;
  text-decoration: none;
  background: #25d366;
  color: #fff;
  font-family: Arial, sans-serif;
  font-size: 14px;
  font-weight: bold;
  -webkit-tap-highlight-color: transparent;
}
@media (hover:hover) { .uc-wa:hover { background: var(--wa); } }
.uc-wa:active { transform: translateY(1px); }
.uc-wa svg { flex: 0 0 auto; }

.uc-stickybar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  background: rgba(255,255,255,.97);
  border-top: 1px solid var(--card-line);
  box-shadow: 0 -2px 10px rgba(0,0,0,.06);
}
.uc-stickybar-price { font-size: 20px; font-weight: bold; color: var(--red); white-space: nowrap; }
.uc-stickybar .uc-wa { min-height: 42px; }
body:has(.uc-stickybar) { padding-bottom: 74px; }

.uc-similar { margin-top: 8px; }

/* ── Footer — white colophon like /research/ ──────────── */

.uc-foot {
  margin-top: 34px;
  background: #fff;
  border-top: 1px solid var(--card-line);
  color: var(--muted);
}
.uc-foot .uc-wrap { padding-top: 18px; padding-bottom: 24px; font-size: 12px; text-align: center; }
.uc-foot-brand { margin: 0 0 8px; font-size: 15px; font-weight: bold; color: var(--ink); }
.uc-foot-brand span { color: var(--red); }
.uc-foot-note { margin: 3px auto; max-width: 560px; }
.uc-foot-note strong { color: var(--ink); }
.uc-foot-links { margin: 8px 0 0; }
.uc-foot-links a { color: var(--ink); text-decoration: none; }
@media (hover:hover) { .uc-foot-links a:hover { color: var(--red); text-decoration: underline; } }

/* ── Tablet (≥700px) ──────────────────────────────────── */

@media (min-width: 700px) {
  .uc-grid { grid-template-columns: repeat(3, 1fr); }
  .uc-make-row { grid-template-columns: repeat(3, 1fr); }
  .uc-hero h1 { font-size: 28px; }
  .uc-pop-list { grid-template-columns: repeat(2, 1fr); gap: 0 22px; }
  .uc-story-list { grid-template-columns: repeat(2, 1fr); }
}

/* ── Desktop (≥980px) ─────────────────────────────────── */

@media (min-width: 980px) {
  .uc-wrap { max-width: 1080px; padding-left: 20px; padding-right: 20px; }

  .uc-top-in { gap: 16px; }
  .uc-brand img { width: 126px; }
  .uc-section { font-size: 11px; padding: 4px 11px; }
  .uc-search { max-width: 230px; }

  .uc-crumbs { padding-left: 20px; padding-right: 20px; }

  .uc-hero { padding-top: 34px; }
  .uc-hero h1 { font-size: 34px; }
  .uc-hero-sub { font-size: 14px; }

  .uc-sechead {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 14px;
    text-align: left;
  }
  .uc-sechead h2 { font-size: 22px; }
  .uc-sechead .uc-eyebrow { flex: none; order: 2; margin: 0; }
  .uc-results-h1 { font-size: 26px; }

  .uc-grid { grid-template-columns: repeat(4, 1fr); gap: 14px; }
  .uc-make-row { grid-template-columns: repeat(5, 1fr); }
  .uc-body-row { justify-content: flex-start; }
  .uc-hero + .uc-makes .uc-body-row, .uc-bodies .uc-body-row { justify-content: center; }
  .uc-pop-list { grid-template-columns: repeat(3, 1fr); }
  .uc-story-list { grid-template-columns: repeat(3, 1fr); }
  .uc-prose { margin-left: 0; }
  .uc-datablock { padding: 22px 24px 18px; }

  .uc-listing-grid { grid-template-columns: minmax(0, 1fr) 340px; gap: 22px; }
  .uc-thumb { width: 180px; height: 120px; }
  .uc-finance {
    display: block;
    margin-top: 16px;
    background: #fff;
    border: 1px solid var(--card-line);
    border-radius: 10px;
    padding: 16px 18px 12px;
    box-shadow: 0 1px 3px rgba(0,0,0,.06), 0 1px 2px rgba(0,0,0,.04);
  }
  .uc-buybox { position: sticky; top: 70px; padding: 20px; }
  .uc-buybox h1 { font-size: 24px; }
  .uc-price { font-size: 32px; }
  .uc-stickybar { display: none; }
  body:has(.uc-stickybar) { padding-bottom: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .uc-card, .uc-make-chip, .uc-story-list a, .uc-card-title a, .uc-story-t { transition: none; }
}
