/* Lion read-only browsing. The proxy already stripped Lion's contacts
   (phones, e-mail, messengers, social links, chat widget) server-side and
   refuses every write; the buttons, forms and panels that led to them are
   hidden so pages do not offer what cannot work. */
.stm-cf-call,
#menu-right-actions,
li.menu-item:has(> a[href*="/contact-us"]),
li.menu-item:has(> a[href*="/sell-your-car"]),
li.menu-item:has(> a[href*="/loginregister"]),
li.menu-item:has(> a[href*="/my-account"]),
li.menu-item:has(> a[href*="/compare"]),
.footer-contact-links,
.stm-listing-car-dealer-info,
.listing-archive-dealer-info,
.elementor-popup-modal,
.elementor-location-popup,
#get-car-price,
#test-drive,
.modal:has(form[method="post"]),
.elementor-widget-social-icons,
.elementor-social-icons-wrapper,
.addtoany_shortcode,
.a2a_kit,
.stm-car-compare,
.stm-listing-compare,
.stm-listing-favorite,
.stm-listing-favorite-action,
.car-action-unit.add-to-compare,
.car-action-unit.stm-share,
[data-ca-hidden] {
  display: none !important;
}

a[data-ca-inert] {
  cursor: default;
  text-decoration: none;
}

/* Our own account entry (shim.js): sign out, password, two-factor. */
.ca-account {
  position: fixed;
  z-index: 2147483000;
  left: 16px;
  bottom: 16px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border-radius: 999px;
  background: #14151a;
  color: #fff !important;
  font: 600 13px/1 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  text-decoration: none !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, .2);
  opacity: .92;
}
.ca-account:hover {
  opacity: 1;
}
.ca-account svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
@media print {
  .ca-account {
    display: none;
  }
}
/* Step aside while Lion's mobile filter drawer is open: its action buttons sit
   at the bottom and our fixed button would swallow the tap. */
body.stm-filter-opened .ca-account,
body:has(.stm-filter-open, .mobile-filter-opened) .ca-account {
  display: none !important;
}

/* Local "not available" pages. */
.np-page {
  margin: 0;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f4f4f5;
  color: #14151a;
  font: 16px/1.5 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}
.np-page main {
  max-width: 440px;
  margin: 24px;
  padding: 32px;
  border-top: 4px solid #d12b2b;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, .08);
}
.np-page h1 {
  margin: 0 0 8px;
  font-size: 20px;
}
.np-page p {
  margin: 0 0 20px;
  color: #3f3f46;
}
.np-page a {
  color: #d12b2b;
  font-weight: 600;
}

