/* ECAR listings – theme layer on top of the board styles (tokens match the homepage) */
.evm, .evx { --ink:#0F2A26; --deep:#0A6B57; --volt:#00C896; --mist:#EEF5F2; --line:#D6E3DE; --muted:#4D6660;
	font-family: "IBM Plex Sans Hebrew", "Assistant", Arial, sans-serif; }

/* Card actions */
.evm-card { position: relative; }
.evm-card__acts { position: absolute; top: 10px; left: 10px; display: flex; gap: 6px; }
.evm-act { width: 38px; height: 38px; border-radius: 999px; border: 1px solid var(--line); background: rgba(255,255,255,.95);
	color: var(--ink); font-size: 18px; line-height: 1; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.evm-act:hover { border-color: var(--deep); }
.evm-act[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.evm-act--save[aria-pressed="true"] { background: #fff; color: #C2185B; border-color: #C2185B; }
.evm-act:focus-visible { outline: 3px solid var(--volt); outline-offset: 2px; }

/* Price vs new */
.evm-card__deal { margin-top: 6px; font-size: 13px; font-weight: 500; color: var(--deep); background: var(--mist); border-radius: 8px; padding: 4px 8px; align-self: flex-start; }

/* Floating saved / compare bar */
.evx-bar { position: fixed; bottom: 16px; left: 50%; transform: translateX(-50%); z-index: 9990; display: flex; gap: 8px;
	background: var(--ink, #0F2A26); padding: 8px; border-radius: 999px; box-shadow: 0 8px 24px rgba(15,42,38,.25); }
.evx-bar a { color: #fff; text-decoration: none; font-weight: 500; padding: 8px 14px; border-radius: 999px; white-space: nowrap; font-family: "IBM Plex Sans Hebrew", Arial, sans-serif; }
.evx-bar a:hover { background: rgba(255,255,255,.12); }
.evx-bar a.is-wait { opacity: .7; }

/* Compare table */
.evx-cmp-wrap { overflow-x: auto; }
.evx-cmp { width: 100%; border-collapse: collapse; min-width: 560px; }
.evx-cmp th, .evx-cmp td { border-bottom: 1px solid var(--line); padding: 10px; text-align: right; vertical-align: top; }
.evx-cmp tbody th { color: var(--muted); font-weight: 500; width: 22%; }
.evx-cmp thead th { position: relative; }
.evx-cmp thead a { display: flex; flex-direction: column; gap: 8px; color: var(--ink); text-decoration: none; font-weight: 700; }
.evx-cmp thead .evm-img { width: 100%; aspect-ratio: 16/9; object-fit: cover; border-radius: 10px; height: auto; }
.evx-rm { position: absolute; top: 14px; left: 14px; width: 30px; height: 30px; border-radius: 999px; border: 0; background: #fff; cursor: pointer; }
.evx-cmp tbody tr:first-child td { font-size: 20px; font-weight: 700; }
.evx-inline { display: inline-block; padding: 10px 18px; }

/* Car page: no author byline */
.single-ev_listing .entry-meta, .single-ev_listing .ast-single-post-order .entry-meta { display: none !important; }

@media (max-width: 600px) { .evx-bar { bottom: 84px; } }

/* Alerts */
.evm-alert { margin: 0 0 16px; }
.evm-alert details { border: 1px solid var(--line); border-radius: 12px; background: var(--mist); }
.evm-alert summary { cursor: pointer; padding: 12px 14px; font-weight: 700; color: var(--ink); list-style: none; }
.evm-alert summary::-webkit-details-marker { display: none; }
.evm-alert__form { display: grid; gap: 10px; padding: 0 14px 14px; }
.evm-alert__what { margin: 0; font-size: 14px; color: var(--muted); }
.evm-alert__email { display: flex; flex-direction: column; gap: 4px; font-size: 14px; max-width: 360px; }
.evm-alert__email input { height: 44px; border: 1px solid var(--line); border-radius: 10px; padding: 0 12px; font: inherit; background: #fff; }
.evm-alert__ok { display: flex; gap: 8px; align-items: flex-start; font-size: 13px; color: var(--muted); }
.evm-alert__form button { justify-self: start; height: 44px; padding: 0 20px; border: 0; border-radius: 10px; background: var(--ink); color: #fff; font-weight: 700; cursor: pointer; font-family: inherit; }
.evm-alert__hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }
.evm-alert__msg { padding: 10px 14px; border-radius: 10px; margin: 0 0 8px; }
.evm-alert__msg--ok { background: #E6F7F1; color: var(--deep); }
.evm-alert__msg--err { background: #FDECEC; color: #9B1C1C; }

/* Car page: similar cars */
.evx-similar { margin-top: 32px; }
.evx-similar h2 { font-size: 22px; margin: 0 0 14px; color: var(--ink); }
