.map-card.map-card-static {
    min-height: 430px;
    padding: 0;
    position: relative;
    overflow: hidden;
    background: #e9e5dc;
    border-radius: 18px;
}

.static-map-image {
    width: 100%;
    height: 100%;
    min-height: 430px;
    object-fit: cover;
    display: block;
}

.map-overlay {
    position: absolute;
    left: 18px;
    right: 18px;
    bottom: 18px;
    z-index: 5;
    display: flex;
    justify-content: space-between;
    gap: 14px;
    align-items: center;
    padding: 16px;
    border-radius: 14px;
    background: rgba(255, 255, 255, .94);
    box-shadow: 0 12px 30px rgba(0,0,0,.14);
    backdrop-filter: blur(8px);
}

.map-overlay strong {
    display: block;
    margin-bottom: 4px;
    font-size: 18px;
    color: var(--text);
}

.map-overlay span {
    display: block;
    color: var(--muted);
    font-size: 14px;
}

.map-buttons {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.map-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 0 13px;
    border-radius: 9px;
    font-size: 13px;
    font-weight: 900;
    background: var(--brand);
    color: #fff !important;
    white-space: nowrap;
}

.map-button.secondary {
    background: #fff;
    color: var(--brand) !important;
    border: 1px solid var(--line);
}

@media (max-width: 640px) {
    .map-card.map-card-static,
    .static-map-image {
        min-height: 450px;
    }

    .map-overlay {
        align-items: flex-start;
        flex-direction: column;
        left: 12px;
        right: 12px;
        bottom: 12px;
        padding: 14px;
    }

    .map-buttons {
        width: 100%;
        justify-content: stretch;
    }

    .map-button {
        flex: 1;
    }
}
