/* EV charging map — marketplace chrome */
.ev-hero {
    position: relative;
    min-height: 200px;
    display: flex;
    align-items: flex-end;
    color: #fff;
    overflow: hidden;
    border-radius: 0 0 10px 10px;
    margin: 0.75rem clamp(0.75rem, 3vw, 1.5rem) 0;
}

.ev-hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    border-radius: 0 0 10px 10px;
}

.ev-hero-veil {
    position: absolute;
    inset: 0;
    border-radius: 0 0 10px 10px;
    background: linear-gradient(100deg, rgba(18, 20, 32, 0.85) 0%, rgba(18, 20, 32, 0.4) 55%, rgba(18, 20, 32, 0.2) 100%);
}

.ev-hero-copy {
    position: relative;
    z-index: 1;
    padding: 1.75rem 0 1.5rem;
    max-width: 720px;
}

.ev-kicker {
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #ff6b6b;
    margin-bottom: 0.35rem;
}

.ev-hero h1 {
    font-size: clamp(1.2rem, 3vw, 1.65rem);
    font-weight: 800;
    line-height: 1.35;
    margin-bottom: 0.45rem;
}

.ev-hero p {
    opacity: 0.88;
    max-width: 48ch;
    font-size: 0.9rem;
}

.ev-layout {
    display: grid;
    grid-template-columns: minmax(280px, 380px) 1fr;
    min-height: calc(100vh - var(--header-h, 72px));
    background: #F4F4F4;
    margin-top: 0;
}

.ev-layout--mapfirst .ev-list-panel {
    max-height: calc(100vh - var(--header-h, 72px));
}

.ev-list-panel {
    background: #fff;
    color: #1A2130;
    border-inline-end: 1px solid #EEEEEE;
    display: flex;
    flex-direction: column;
    max-height: calc(100dvh - var(--header-h, 72px));
}

.ev-list-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.1rem 1.15rem 0.5rem;
}

.ev-list-head h2 {
    font-size: 1.05rem;
    font-weight: 800;
}

.ev-count {
    font-size: 0.82rem;
    color: #616161;
}

.ev-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    padding: 0.5rem 1rem 0.85rem;
}

.ev-chip {
    border: 1px solid #EEEEEE;
    background: #F4F4F4;
    color: #4a4a4a;
    border-radius: 8px;
    padding: 0.35rem 0.7rem;
    font-family: inherit;
    font-size: 0.78rem;
    font-weight: 700;
    cursor: pointer;
}

.ev-chip.active,
.ev-chip:hover {
    background: var(--primary, #E31E24);
    border-color: var(--primary, #E31E24);
    color: #fff;
}

.ev-station-list {
    flex: 1;
    overflow-y: auto;
    padding: 0 0.75rem 1rem;
}

.ev-station-card {
    display: block;
    width: 100%;
    text-align: start;
    padding: 0.85rem;
    margin-bottom: 0.5rem;
    border: 1px solid #EEEEEE;
    border-radius: 10px;
    background: #fff;
    cursor: pointer;
    font-family: inherit;
    color: inherit;
}

.ev-station-card:hover,
.ev-station-card.active {
    border-color: rgba(227, 30, 36, 0.4);
}

.ev-station-card strong {
    display: block;
    font-size: 0.88rem;
    font-weight: 800;
    margin-bottom: 0.2rem;
}

.ev-station-card span {
    font-size: 0.78rem;
    color: #616161;
}

.ev-pin {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--primary, #E31E24);
    color: #fff;
    display: grid;
    place-items: center;
    font-size: 0.85rem;
    box-shadow: 0 2px 8px rgba(227, 30, 36, 0.45);
}

.ev-app-nudge {
    display: flex;
    gap: 0.75rem;
    align-items: center;
    padding: 1rem;
    border-top: 1px solid #EEEEEE;
    background: #fafafa;
}

.ev-app-nudge img {
    width: 48px;
    height: 48px;
    object-fit: contain;
}

.ev-app-nudge strong {
    display: block;
    font-size: 0.85rem;
    font-weight: 800;
}

.ev-app-nudge p {
    font-size: 0.75rem;
    color: #616161;
    margin: 0.2rem 0 0.5rem;
}

.ev-map-wrap {
    min-height: 420px;
    background: #e8eaed;
}

#evMap {
    width: 100%;
    height: 100%;
    min-height: 420px;
}

@media (max-width: 900px) {
    .ev-layout {
        grid-template-columns: 1fr;
    }
    .ev-list-panel {
        max-height: 320px;
        border-inline-end: none;
        border-bottom: 1px solid #EEEEEE;
    }
    .ev-map-wrap,
    #evMap {
        min-height: 360px;
    }
}
