/* The shopper pages' footer (owner 2026-11-16, mock static/mock/about.html). */
/* Owner 2026-11-16: the site's blue — the same gradient as the blue card on the results overview (market-band-v2.css). */
.cm-ft { background: radial-gradient(600px 200px at 100% 0%, rgba(255, 255, 255, .18), transparent 60%), linear-gradient(120deg, #1d4ed8, #4f7cff);
  color: rgba(255, 255, 255, .88); font-family: var(--type-font); margin-top: 48px; }
.cm-ft-in { max-width: 1200px; margin: 0 auto; padding: 48px 24px 28px; display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.cm-ft .cm-ft-name { font-size: 24px; color: #fff; }   /* the logo's own serif comes from .cm-brand-name (appbar-v1.css) */
.cm-ft-brand p { color: rgba(255, 255, 255, .8); font-size: 15px; margin: 8px 0 0; }
.cm-ft h4 { margin: 0 0 14px; font-size: var(--type-label); font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: #fff; }
.cm-ft ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.cm-ft a { color: rgba(255, 255, 255, .88); text-decoration: none; font-size: 15px; }
.cm-ft a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.cm-ft-bot { max-width: 1200px; margin: 0 auto; padding: 18px 24px 28px; border-top: 1px solid rgba(255, 255, 255, .22); font-size: 13px; color: rgba(255, 255, 255, .75); }
@media (max-width: 720px) {
  .cm-ft-in { grid-template-columns: 1fr 1fr; }
  .cm-ft-brand { grid-column: 1 / -1; }
}
/* Pages with the app's floating chat box (the idle home): room under the footer so the box never covers it. */
body:has(.cm-composer) .cm-ft-bot { padding-bottom: 170px; }
/* Short pages: the footer sits at the bottom of the window, never mid-page with empty page below it. */
body:has(> #cmFooter) { min-height: 100vh; display: flex; flex-direction: column; }
body > #cmFooter { margin-top: auto; }
/* The home page: a footer under the idle home only — owner 2026-11-17: never under an answer (car results or any other). */
#appRoot.o3-stage-answered ~ .cm-ft-home, #appRoot:not([data-view="home"]) ~ .cm-ft-home { display: none; }
/* Owner 2026-11-16: the footer never runs under the recents panel — it starts where the page's content starts — and
   sits well clear of "Watch Carmada work". */
.cm-ft-home { margin-top: 120px; }
body.cm-side-on .cm-ft-home { margin-left: var(--cm-side-w); }
