/* Charger landing pages (commercial, DC fast) — filter bar above the listings grid. */
.tev-cf-sr-heading {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.tev-cf {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin: 0 0 1.25rem;
  padding: 0.9rem 1rem;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.06);
}
.tev-cf__types {
  display: inline-flex;
  gap: 0.4rem;
  flex-wrap: wrap;
}
.tev-cf-type {
  padding: 0.45rem 1rem;
  border: 1px solid #cbd5e1;
  border-radius: 999px;
  background: #f8fafc;
  color: #0f172a;
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
}
.tev-cf-type.is-active {
  background: linear-gradient(90deg, #2563eb, #0ea5e9);
  border-color: transparent;
  color: #fff;
}
.tev-cf-type__count {
  font-weight: 600;
  opacity: 0.75;
}
.tev-cf-type__count:not(:empty)::before { content: '('; }
.tev-cf-type__count:not(:empty)::after { content: ')'; }
.tev-cf__fields {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 0.6rem 0.75rem;
}
.tev-cf__field {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #64748b;
}
.tev-cf__field select {
  width: 100%;
  padding: 0.5rem 0.6rem;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  background: #fff;
  color: #0f172a;
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: none;
  letter-spacing: 0;
}
.tev-cf__field select:focus {
  outline: 2px solid #93c5fd;
  outline-offset: 1px;
}
.tev-cf__status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.9rem;
  color: #334155;
}
.tev-cf__count { font-weight: 700; }
.tev-cf__clear {
  border: 0;
  background: none;
  color: #2563eb;
  font-weight: 700;
  cursor: pointer;
  padding: 0.25rem 0;
}
.tev-cf__clear:hover { text-decoration: underline; }
.tev-cf--single-row {
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
  margin: 0.75rem 0 0.6rem;
  padding: 0.5rem 0.75rem;
  border-radius: 10px;
  box-shadow: none;
}
.tev-cf--single-row .tev-cf__types { flex: 0 0 auto; gap: 0.4rem; }
.tev-cf--single-row .tev-cf-type {
  height: 34px;
  padding: 0 0.85rem;
  border-radius: 8px;
  font-size: 0.78rem;
  font-weight: 600;
}
.tev-cf--single-row .tev-cf__fields {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}
.tev-cf--single-row .tev-cf__field { display: block; }
.tev-cf--single-row .tev-cf__field > span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}
.tev-cf--single-row .tev-cf__field select {
  width: 132px;
  height: 34px;
  padding: 0 1.6rem 0 0.55rem;
  border-radius: 8px;
  font-size: 0.78rem;
  font-weight: 400;
  color: #0f172a;
}
.tev-cf--single-row .tev-cf__status {
  flex: 0 0 auto;
  margin-left: auto;
  gap: 0.6rem;
  font-size: 0.78rem;
}
.tev-cf--single-row .tev-cf__count { font-weight: 600; color: #64748b; }
.tev-cf--single-row .tev-cf__clear {
  height: 34px;
  padding: 0 0.7rem;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  background: #f8fafc;
  color: #0f172a;
  font-size: 0.78rem;
  font-weight: 400;
}
.tev-cf--single-row .tev-cf__clear:hover {
  text-decoration: none;
  background: #eef2f7;
}
body.tev-public-marketplace #home-charger-landing-body .tev-home-charger-body__inner {
  width: 100%;
  padding-left: 0;
  padding-right: 0;
}
@media (max-width: 640px) {
  .tev-cf { padding: 0.75rem; }
  .tev-cf__fields { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tev-cf--single-row .tev-cf__fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); width: 100%; }
  .tev-cf--single-row .tev-cf__field select { width: 100%; }
}
